Compiler for Ruby

Thanks for the links. After reviewing several web pages, I have a few
more questions at this time.

Can YARV be used to speed up Ruby 1.84 programs for Windows? Is YARV on
a separate track from Rite, or an integral part of its strategy for
better performance? Is Rite a code name for Ruby 2.0, or will it be the
proper name upon official release of the language, with Ruby being the
name for earlier versions instead? (I hope not, since I like the name
Ruby and hope it will continue, either with or without Rite in
addition.).

Jamal

···

-----Original Message-----
From: Bill Guindon [mailto:agorilla@gmail.com]
Sent: Tuesday, May 09, 2006 4:40 PM
To: ruby-talk ML
Subject: Re: Compiler for Ruby

On 5/9/06, Jamal Mazrui <Jamal.Mazrui@fcc.gov> wrote:

I realize that a compiler is not necessarily important to a lot of

Ruby

developers because of the dynamic, interpreted nature of the language.
Once a program is good enough for production, however, it may benefit
from the increased performance a compiler can deliver.

So, I'm curious about the status of such a project. Is it intended to
be part of Ruby 2.0? Is it related to the Parrot virtual machine
project that intends to execute Ruby as well as other languages?

Her'e the compiler in progress:
http://www.atdot.net/yarv/

More details via Google:
http://www.google.com/search?q=ruby+rite

I don't know the details, but am aware that there are various forms of
compilers that work at different levels of code or at different points
in the life cycle of a program (e.g., native machine code compiler
versus Just-in-Time compiler). I welcome any information about what

is

in the works for Ruby, both near and long term.

Jamal

P.S. In case it matters, I develop under Windows at present, though
eventually hope to do cross platform application development.

--
Bill Guindon (aka aGorilla)
The best answer to most questions is "it depends".

ack, top-posting evil!

anyway, I believe that YARV is the planned VM for Rite. Ruby 2.0 is the name of the language, rite is the name of the C implementation of Ruby 2.0 IIRC.

···

On May 10, 2006, at 9:39 AM, Jamal Mazrui wrote:

Thanks for the links. After reviewing several web pages, I have a few
more questions at this time.

Can YARV be used to speed up Ruby 1.84 programs for Windows? Is YARV on
a separate track from Rite, or an integral part of its strategy for
better performance? Is Rite a code name for Ruby 2.0, or will it be the
proper name upon official release of the language, with Ruby being the
name for earlier versions instead? (I hope not, since I like the name
Ruby and hope it will continue, either with or without Rite in
addition.).

Jamal

Indeed, the Ruby name doesn't appear to be endangered:

$ ruby-yarv -v
ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i686-linux]
YARVCore 0.4.0 Rev: 493 (2006-05-03) [opts: ]

···

On Wed, 2006-05-10 at 23:53 +0900, Logan Capaldo wrote:

On May 10, 2006, at 9:39 AM, Jamal Mazrui wrote:

> Thanks for the links. After reviewing several web pages, I have a few
> more questions at this time.
>
> Can YARV be used to speed up Ruby 1.84 programs for Windows? Is
> YARV on
> a separate track from Rite, or an integral part of its strategy for
> better performance? Is Rite a code name for Ruby 2.0, or will it
> be the
> proper name upon official release of the language, with Ruby being the
> name for earlier versions instead? (I hope not, since I like the name
> Ruby and hope it will continue, either with or without Rite in
> addition.).
>
> Jamal
>
>

ack, top-posting evil!

anyway, I believe that YARV is the planned VM for Rite. Ruby 2.0 is
the name of the language, rite is the name of the C implementation of
Ruby 2.0 IIRC.

--
Ross Bamford - rosco@roscopeco.REMOVE.co.uk