Yarv and C

I have a somewhat large library written in C that I want to be able to
call from ruby and I have used SWIG in the past. Right now if I did
this with swig it would take me several
days, and I don't want to risk this becoming obsolete in 3 months.

Am I right that yarv is the future? Can SWIG be used with yarv or
would it
be better for me to build my library into yarv? (modify the language)

I don't want to have to write new glue code when the next release of
ruby (or yarv) is out.

Any opinions or pointers are greatly appreciated.

Thanks in advance,
Tom

Hi,

ยทยทยท

In message "Re: yarv and C" on Wed, 8 Aug 2007 09:15:06 +0900, progcat@comcast.net writes:

Am I right that yarv is the future? Can SWIG be used with yarv or
would it
be better for me to build my library into yarv? (modify the language)

I don't want to have to write new glue code when the next release of
ruby (or yarv) is out.

I am not sure what you mean here. At least you don't have to modify
your extension for YARV (1.9).

              matz.