Skip to content
Tech News
← Back to articles

TruffleRuby

read original get TruffleRuby Programming Book → more articles
Why This Matters

TruffleRuby is a high-performance implementation of Ruby built on the JVM, leveraging the Graal compiler and Truffle framework. Its development, backed by Oracle Labs and Shopify, signifies a major advancement in Ruby execution speed and simplicity, impacting both developers and the broader tech ecosystem. As part of GraalVM, TruffleRuby enhances the capabilities of the JVM for dynamic languages, fostering innovation and efficiency in software development.

Key Takeaways

TruffleRuby

TruffleRuby started as my internship project at Oracle Labs in early 2013. It is an implementation of the Ruby programming language on the JVM, using the Graal dynamic compiler and the Truffle AST interpreter framework. TruffleRuby can achieve peak performance well beyond that possible in JRuby at the same time as being a significantly simpler system. In early 2014 it was open sourced and integrated into JRuby for incubation, then in 2017 it became its own project, and now it is part of GraalVM. It was the subject of my PhD, and since 2019 Shopify has sponsored development.

This page links to the literature and code related to the project. Note that any views expressed are my own and not those of Oracle.

Finalist, Ruby Prize, 2016

Blog Posts and Articles

Research Papers and Thesis

Videos of Talks and Slide Decks

Source Code