From: Florian Gross Date: 2004-11-18T01:58:14+09:00 Subject: Re: Ruby to C to another language (perhaps Java (I Don't Need JRuby)) Zach Dennis wrote: > This posting is more for a learning thing then anything else at this > point. I've been playing with Java to C via JNI lately doing some pretty > basic tests; calling methods, getting and settings fields, passing > primitive types around, etc... > > A while back (a few months ago) I did some Ruby to C tests of pretty > much the same caliber. > > I would like to combine the two approaches and share some objects > between Ruby to C to Java and vise versa. I am not looking for the JVM > to be able to process ruby code. (no JRuby) There's work being done on the Ruby -> C part. See http://zenspider.com/~ryand/Ruby2C.pdf That aside maybe SWIG can be useful for you?