TruffleRuby's Avatar

TruffleRuby

@truffleruby.bsky.social

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

14 Followers  |  4 Following  |  3 Posts  |  Joined: 18.01.2025  |  1.4041

Latest posts by truffleruby.bsky.social on Bluesky

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
Preview
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
Preview
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
Post image

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

@truffleruby is following 4 prominent accounts