Skip to content
Chris Seaton edited this page Apr 3, 2016 · 75 revisions

JRuby+Truffle - a High-Performance Truffle Backend for JRuby

The Truffle runtime of JRuby is an experimental implementation of an interpreter for JRuby using the Truffle AST interpreting framework and the Graal compiler. It’s an alternative to the IR interpreter and bytecode compiler. The goal is to be significantly faster, simpler and to have more functionality than other implementations of Ruby.

JRuby+Truffle is a project of Oracle Labs and academic collaborators at the Institut für Systemsoftware at Johannes Kepler University Linz.

Wiki Pages

## Other Documentation

Developer documentation for JRuby+Truffle is at http://lafo.ssw.uni-linz.ac.at/graalvm/jruby/doc/. This includes project outline, how to use Truffle and how to use Truffle-specific functionality.

Workaround for RubyGems

JRuby+Truffle does not support RubyGems yet, therefore there is a small tool jruby+truffle to make testing of gems and applications on JRuby+Truffle easy. The tool is bundled in JRuby. To install dependencies run jruby+truffle setup in the gems's or the application's directory, thenjruby+truffle run a_file.rb to try the gem or application.

Please see the documentation of jruby+truffle_runner tool.

RubySpec

We track completeness against the suite of specs formerly known as RubySpec. These generated reports show overall completeness and work outstanding. We support all of the language and over 90% of the core library.

Developing JRuby+Truffle

Clone this wiki locally