This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ruby and the fly likes Ruby - JIT Compilers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Ruby
Bookmark "Ruby - JIT Compilers?" Watch "Ruby - JIT Compilers?" New topic
Author

Ruby - JIT Compilers?

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Hi,

Is there any tools or concept like JIT (Just-In-Time) compilers for Ruby, something like Java?

Mourougan


Mourougan
Open Source leads to Open Mind
Munendra Chevuru
Greenhorn

Joined: Feb 26, 2009
Posts: 3
Ludicrous is a just-in-time compiler for Ruby 1.8 and 1.9. Though still in the experimental stage, its performance is roughly on par with YARV (better in some benchmarks, though that may change as more features are added). It's easy to use:

class MyClass
...
include Ludicrous::Speed
# (or Ludicrous::JITCompiled)
end


I think the following site might be helpful.
Munendra Chevuru
Greenhorn

Joined: Feb 26, 2009
Posts: 3
http://rubystuff.org/ludicrous/
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Thanks Munendra....

Mourougan
 
jQuery in Action, 2nd edition
 
subject: Ruby - JIT Compilers?