From: Wilson Bilkovich Date: 2006-12-06T02:54:25+09:00 Subject: Re: A true Ruby compiler (for Linux) On 12/5/06, J�rg 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.