Ruby compiler question


#1

Hey just wondering, is there a plan to add a compiler to the future
versions of ruby,
ala java compiling into bitecode for speed gains?


#2

mccarthyjames wrote:

Hey just wondering, is there a plan to add a compiler to the future
versions of ruby,
ala java compiling into bitecode for speed gains?

Yes:

http://www.google.se/search?hl=sv&q=ruby+vm&meta=


#3

James McCarthy wrote:

Hey just wondering, is there a plan to add a compiler to the future
versions of ruby,
ala java compiling into bitecode for speed gains?

Yes. See YARV.

http://www.atdot.net/yarv/

James

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools


#4

On Tuesday 06 December 2005 08:48, James McCarthy wrote:

Hey just wondering, is there a plan to add a compiler to the future
versions of ruby,
ala java compiling into bitecode for speed gains?

Yes. Ruby 2.0 will be byte compiled. Google for YARV.