This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ruby - JIT Compilers?
 
Similar Threads
JIT(JUST IN TIME) COMPILERS
Ebean - simple ORM
Tech Word Game
JIT compiler
difference in client and server results