Hi, I'm not familiar with the current implementation, but I how do you implement it now?
Guy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ola Bini Sent: Tuesday, April 11, 2006 12:36 To: jruby-devel@lists.sourceforge.net Subject: [Jruby-devel] JRuby-future. 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 ------------------------------------------------------- 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