Hi,

While SourceForge still is not working, I thought that maybe we could discuss the JRuby future?

At some point in the future I guess it makes sense to try to compile Ruby directly to Java byte code, in the manner of Jython. How far have thoughts along these lines progressed? It seems to me that a first step for this would be to have the current parser output Java source code, which uses JRuby internals to create Ruby-classes in the way the builtin classes are defined right now (like RubyString and RubyTime, etc). It really doesn't seem that hard to output that kind of code, or am I missing something deep here? The next step is probably to provide custom class loaders which through BCEL could dynamically load the new byte code into the Java system. It seems that interoperability with the rest of Java should be easier and faster this way, too.

Any thoughts?

/Ola




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to