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.
17.09.2025 16:32 β π 6 π 3 π¬ 0 π 0
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...
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...
17.09.2025 15:18 β π 9 π 5 π¬ 1 π 0
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.
15.05.2025 12:18 β π 6 π 1 π¬ 0 π 0
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...
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...
18.03.2025 16:02 β π 4 π 1 π¬ 0 π 0
New blog post: βMatching Regexps 200 Times Fasterβ
eregon.me/blog/2025/03...
14.03.2025 21:17 β π 12 π 1 π¬ 1 π 0
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...)
18.01.2025 21:01 β π 3 π 1 π¬ 1 π 2