TruffleRuby

@truffleruby.dev

A High-Performance Ruby Implementation on top of @graalvm.org. https://truffleruby.dev

What if Ruby 4.0 features could be implemented in pure Ruby? With TruffleRuby, that’s possible: 73% of the core library is written in Ruby itself. We currently have 10 issues tagged [easy, pure Ruby] waiting for contributors: github.com/truffleruby/...

Ruby 4.0 support · Issue #4231 · truffleruby/truffleruby

Any help is appreciated whether it is: implementing one of the Ruby 4.0 changes in TruffleRuby, and ensuring it is tested in specs or MRI tests and otherwise add specs. If adding specs please leave...

github.com

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/...

Release TruffleRuby 33.0.1 · truffleruby/truffleruby

TruffleRuby is a high-performance implementation of the Ruby programming language. TruffleRuby aims to be fully compatible with the standard implementation of Ruby, MRI. More information is availab...

github.com

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...

Release TruffleRuby 25.0.0 · oracle/truffleruby

TruffleRuby is a high-performance implementation of the Ruby programming language. It aims to be fully compatible with the standard implementation of Ruby, MRI. More information is available at htt...

github.com

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...

Release TruffleRuby 24.2.0 · oracle/truffleruby

TruffleRuby is a high-performance implementation of the Ruby programming language. TruffleRuby aims to be fully compatible with the standard implementation of Ruby, MRI. More information is availab...

github.com