# TruffleRuby

> A high performance implementation of the Ruby programming language, built on GraalVM

Source: https://talira.ai/catalog/truffleruby-evtv6yf2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / runtimes](https://talira.ai/categories/developer-tools/runtimes), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Platforms: linux, macos, docker[^1]
- Licence: EPL-2.0 OR GPL-2.0-only OR LGPL-2.1-only[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Implements: [Ruby](https://talira.ai/catalog/ruby-7r6bb7kb.md)
- Backed by: [TruffleRuby](https://talira.ai/orgs/truffleruby.md)

TruffleRuby is a high-performance implementation of [Ruby](https://talira.ai/catalog/ruby-7r6bb7kb.md) built on GraalVM and the Truffle framework, aiming at full compatibility with the standard implementation (MRI). It has no global interpreter lock, so Ruby code and thread-safe C extensions run in parallel, runs most C extensions out of the box, and reaches high peak performance with its JIT after a warmup. It comes as a Native Standalone (fast startup) or a JVM Standalone with fast interoperability with Java, JavaScript, Python and WebAssembly, and installs with the usual Ruby managers (rbenv, ruby-build, asdf, mise, RVM, ruby-install), ruby/setup-ruby in CI, or Docker. TruffleRuby AB.C.D aims at compatibility with CRuby A.B. Licensed under EPL-2.0, GPL-2.0 or LGPL-2.1.

## Links

- Website: https://truffleruby.dev/
- GitHub: https://github.com/truffleruby/truffleruby

## Problems it solves

- make my CPU-heavy Ruby code run much faster without rewriting it
- run Ruby threads in parallel without a global interpreter lock
- call Java, JavaScript or Python libraries from Ruby code
- a faster Ruby that still runs Rails and gems with C extensions
- try an alternative Ruby implementation in my CI matrix

## Features

- no global interpreter lock: Ruby code and thread-safe C extensions run in parallel
- most C extensions work out of the box, including database drivers
- Native Standalone with fast startup, JVM Standalone with best peak performance
- interoperability with Java, JavaScript, Python and WebAssembly
- profiler, debugger and VisualVM support
- passes around 98% of ruby/spec
- installs with rbenv, ruby-build, asdf, mise, RVM or ruby-install, and in CI with ruby/setup-ruby

## Limitations

- Not yet 100% compatible with MRI 4.0[^1]
- Needs a fair amount of warmup to reach peak performance[^1]
- Runs on Linux (x86_64 and AArch64) and macOS on AArch64 only[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Related

- Implements [Ruby](https://talira.ai/catalog/ruby-7r6bb7kb.md)

## Alternatives

- [JRuby](https://talira.ai/catalog/jruby-md8jr3z8.md): The Ruby programming language on the JVM
- [Fullstaq Ruby](https://talira.ai/catalog/fullstaq-ruby-c05w1qqq.md): A server-optimised Ruby distribution: precompiled MRI packages built with jemalloc and malloc_trim.

## Sources

[^1]: https://github.com/truffleruby/truffleruby (checked 23 Nov 2026)
[^2]: https://github.com/truffleruby/truffleruby/blob/master/LICENCE.md (checked 23 Nov 2026)
