lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 11/17/06, Sam Roberts <sroberts@bycast.com> wrote:
On Fri, Nov 17, 2006 at 11:09:39AM -0800, Don Hopkins wrote:
> it doesn't require that your code be written in C++, and it doesn't

YMMV. I tried to use swig to bind a C library into ruby for a few days,
and came away pretty frustrated.


My experience was rather different. Couple of year ago I had to export
big chunks of GSL (GNU Scientific Library) written in ANSI C to Ruby
using SWIG. It worked like a charm. My only problem with SWIG Ruby was
that the generated  wrapper code is quite bloated.

--Leo--