We’re pleased to announce that TruffleRuby 33.0.1 is now available. This is a bug fix release that notably adds support for structured event reporting in Rails 8.1 (and any other usage of Fiber storage) along with other compatibility work.
More details at:
github.com/truffleruby/...
Posts by TruffleRuby
Just wanted to share that @rubyevents.org looks really good, I recently found the page about TruffleRuby-related talks: www.rubyevents.org/topics/truff... and of course my own profile page: www.rubyevents.org/profiles/ere...
I ran your benchmarks from bugs.ruby-lang.org/issues/21824 on TruffleRuby with a slight tweak to use benchmark-ips for warmup and the result is 2.42x faster than CRuby 3.4.8 on the first benchmark and 4.66x faster on the second/minimal benchmark!
See gist.github.com/eregon/e3692... for details.
TruffleRuby kicks off the year with a new website, a new release, and a blog post to go with it! 🎉
truffleruby.dev/blog/truffle...
Many changes:
* New versioning
* Thread-safe Hash
* No system dependencies anymore
* Installs in 2 seconds
* Development is now fully in the open
Running native extensions in parallel is a huge performance boost. Running a large internal Rails application, we saw performance roughly double. Very workload dependent, of course, but all of the major DB adapters are implemented as native extensions.
We also added support for the blake3-rb gem.
TruffleRuby 25.0 is released! 🚀🎉
It can now run native extensions in parallel, just like Ruby code already ran in parallel in Threads on TruffleRuby!
It also features many compatibility improvements and notably support for custom Digest algorithms.
github.com/oracle/truff...
TruffleRuby can now run C/native extensions in parallel, just like Ruby code runs in parallel in Threads on TruffleRuby!
Native extensions need to opt in with rb_ext_ractor_safe(true) or rb_ext_thread_safe(true). Many gems already do that.
See github.com/oracle/truff... for more details.
TruffleRuby 24.2 is released!🚀🎉
It uses the new Java Panama API in JVM mode to speedup C extensions like sqlite3, trilogy and json by 2 to 3 times!
It also redesigns encoding negotiation for speed, and updates to Ruby 3.3!
All changes: github.com/oracle/truff...
Blog post: medium.com/graalvm/what...
New blog post: “Matching Regexps 200 Times Faster”
eregon.me/blog/2025/03...
Though with @truffleruby.bsky.social one can in fact just #send it, even publicly, at 276 million iterations/second in all 3 cases! gist.github.com/byroot/780c1... (using the benchmark from bsky.app/profile/byro...)