Ruby Implementations Compared
As of October 13, 2026.
| Implementation | Written in | Ruby | ruby/spec | C extensions | License |
|---|---|---|---|---|---|
| CRuby | Ruby, C | 4.0.7 | Every commit | Yes | Ruby, BSD-2-Clause |
| JRuby | Ruby, Java | 4.0 | Every commit | No | EPL, GPL, LGPL |
| TruffleRuby | Ruby, C, Java | 4.0 | About 98% | Many | EPL, GPL, LGPL |
| mruby | C, Ruby | ISO subset | Not listed | Its own API | MIT |
| Artichoke | Rust, Ruby | 3.1.2 | A subset | No | MIT |
| Metorex | Rust, Ruby | 4.0.7 | Passes | Much of MRI's | MIT |
CRuby is MRI, the reference implementation. ruby/spec runs for every commit on 30 platforms, and C extensions use its C API.
JRuby 10.1 targets Ruby 4.0. It runs Java extensions in place of C extensions. Its license is EPL-2.0, GPL-2.0, or LGPL-2.1.
TruffleRuby 40.0 targets Ruby 4.0 and runs on GraalVM's Truffle. Many C extensions work unchanged. Its license is EPL-2.0, GPL-2.0, or LGPL-2.1.
mruby implements part of the ISO standard, with Ruby 4.x syntax. It is not among the implementations ruby/spec lists, and its extensions are mrbgems written against its own C API.
Artichoke targets recent MRI and runs ruby/spec against 3.1.2, enforcing a subset with many failures. Its extensions are Rust, on mruby's ABI.
Metorex passes ruby/spec's core, library, language, command_line, optional, and security directories, and exports much of MRI's C API.