TruffleRuby
@truffleruby.bsky.social
14 followers 4 following 3 posts
A High-Performance Ruby Implementation on top of @graalvm.org. https://github.com/oracle/truffleruby
Posts Media Videos Starter Packs
Pinned
truffleruby.bsky.social
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
Reposted by TruffleRuby
nirvdrum.bsky.social
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.bsky.social
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.bsky.social
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.bsky.social
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
Reposted by TruffleRuby
eregon.bsky.social
New blog post: “Matching Regexps 200 Times Faster”
eregon.me/blog/2025/03...
Reposted by TruffleRuby
eregon.bsky.social
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...)
jpcamara.com
In hot code paths, do not listen to this man. You should, in fact, _not_ send it