From: Alan Chen Date: 2002-09-24T07:02:00+09:00 Subject: Re: Using Ruby with other languages On Tue, Sep 24, 2002 at 04:39:03AM +0900, Christian Szegedy wrote: > Tapio Kelloniemi wrote: > > > >also would like to know, wheter it is possible to compile RUby code to > >object format and then link with code written in different languages, > >EG. C++ and C. > > > > You can link ther ruby interpreter with your (C,C++) program, > source ruby code into your program. > > You can also link your (C,C++) library as a DLL and use it from > Ruby. > > Regards, Christian Also look at exerb. http://exerb.sourceforge.jp/index.en.html It's not perfect, but it does pretty well overall. - alan -- Alan Chen Digikata LLC http://digikata.com