From: Jason Roelofs Date: 2006-12-06T05:55:25+09:00 Subject: Re: A true Ruby compiler (for Linux) ------=_Part_14993_20425465.1165352120777 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I wonder how much traction XRuby will ever be able to get now that JRuby is a Sun sponsored project. Maybe the XRuby guy should touch base with the JRuby team about combining the two in some way or another. Though given the name XRuby, maybe the guy's overall goal is to build a compiler that can compile Ruby into any number of bytecodes. Either way, I like seeing this work. It means that we'll eventually be able to shut up those 'Ruby is too slow' naysayers. Jason On 12/5/06, J=F6rg W Mittag wrote: > > Wilson Bilkovich wrote: > > On 12/5/06, J=F6rg W Mittag wrote: > >> Philip Rhoades wrote: > >>> I have found RubyScript2Exe but that is not a real compiler. Ruby is > >>> such an nice OO language to develop in - why isn't there a demand to > >>> compile a finished script? - then you get the benefits of fast > >>> development times as well as fast run times. > >> XRuby is a Ruby compiler that compiles Ruby to Java Bytecode. You can > >> run Java Bytecode on Linux, so, technically speaking, XRuby is a Ruby > >> compiler for Linux. There are also various compilers out there that > >> compile Java Bytecode to native objectcode (e.g. GCJ), allowing you to > >> produce native objectode from Ruby sourcecode with an extra step. > >> > >> Ruby.NET is a Ruby compiler that compiles Ruby to CIL Bytecode. You > >> can run CIL Bytecode on Linux, so, technically speaking, Ruby.NET is a > >> Ruby compiler for Linux. I think that there are also various > >> compilers out there that compile CIL Bytecode to native objectcode, > >> allowing you to produce native objectode from Ruby sourcecode with an > >> extra step. > > Rubinius also has this feature (saving portable, intermediate bytecode > > for later execution). Not ready for production use yet, but it's > > moving very quickly. Bignums, Regexp, and continuations went in this > > week. Also, the development is validated with valgrind, which makes me > > happy. > > Great! I didn't know that. > > IIRC, IronRuby, JRuby and YARV will eventually grow a compiler, too. > > jwm > > ------=_Part_14993_20425465.1165352120777--