Jörg W Mittag
12/5/2006 8:44:00 PM
Wilson Bilkovich wrote:
> On 12/5/06, Jörg W Mittag <Joerg.Mittag@web.de> 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