I read ( http://www.rubygarden.org/ruby?VirtualMachineOptions ) that
it might have a compiler and virtual machine, is this true?
I'd like to use Ruby for my dissertation, and a bytecode-compiled
version that runs on a VM would be good to see because the program
that I will be creating will probably be quite cpu & memory intensive.
I start my dissertation next September, so hopefully a lot of work
will be done on it by then.
Also where is Ruby 1.9 held, I know its a development version and its
almost version 2.0... but is it practically 2.0 and does it have a
compiler & VM?
Thanks,
Daniel.
I think matz would say: "when it's ready".
> I read ( http://www.rubygarden.org/ruby?VirtualMachineOptions ) that
> it might have a compiler and virtual machine, is this true?
>
Not "might". Ruby2 will be byte-compiled. The VM is called YARV and is
in heavy development. Check out http://www.atdot.net/yarv/ . And
although that page is rather humble, matz already indicated that YARV
*will* be the VM for Ruby2.
>
> Also where is Ruby 1.9 held, I know its a development version and its
> almost version 2.0... but is it practically 2.0 and does it have a
> compiler & VM?
>
My understanding is that it's Ruby2 feature-wise, but interpreted like
Ruby 1.8 currently is. So you don't get the VM with it. It's just the
testing ground for the features and syntax that Ruby2 will eventually have.
--
Christophe Grandsire.
http://rainbow.conlang.free.fr
You need a straight mind to invent a twisted conlang.