From: Emmanuel Oga Date: 2008-08-15T10:29:21+09:00 Subject: Re: Is Ruby has something equivalent to ctypes in Python? Until a uniform solution is done, you can give a try to http://www.dyncall.org/, it has ruby bindings. Greets! On Thu, Aug 14, 2008 at 7:02 PM, Charles Oliver Nutter wrote: > Shin guey Wong wrote: >> >> Charles Oliver Nutter wrote: >>> >>> On Rubinius and JRuby, you can use FFI. I'm hoping someone can do an FFI >>> port for MRI so everyone can start using the same library. >>> >>> - Charlie >> >> Is the FFI for Rubinius and JRuby compatible? It would be great is all 3 >> ruby implementation using the same library. > > It is compatible between JRuby and Rubinius, and will be in a production > release of JRuby this month (1.1.4). We're looking for help getting an FFI > for the C Ruby implementations as well so everyone can use the same library. > > - Charlie > > -- Emmanuel Oga ELC Technologies (TM) 1921 State Street Santa Barbara, CA 93101 eoga@elctech.com (866)863-7365 Tel (866)893-1902 Fax +44 (0) 20 7504 1346 Tel - London Office +44 (0) 20 7504 1347 Fax - London Office http://www.elctech.com