TruffleRuby (@TruffleRuby) header
TruffleRuby (@TruffleRuby) profile picture

A High-Performance Ruby Implementation on top of @GraalVM. See also https://www.teapawt.net/t.co/8zyzzTZynH and https://www.teapawt.net/t.co/bYkaWTz2ht

Joined January 2017
Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)Photo by TruffleRuby (@TruffleRuby)
TruffleRuby retweeted
« If your question is "which Ruby runs my Rails app fastest without changing a line of it," the answer here is TruffleRuby, and it isn't close. » From intertwingly.net/blog/2026/0… by @samruby. Context: Puma with 1 process and 5 threads serving a simple Rails blog app.
2
6
539
TruffleRuby retweeted
TruffleRuby runs Doom at, 🥁, 662 FPS! From the talk of @khasinski at #EuRuKo
4
32
899
TruffleRuby retweeted
Here are the slides for my talk "Running Native Extensions and Ruby Code in Parallel Threads" at #EuRuKo 2026: eregon.me/blog/assets/resear…
2
3
21
836
TruffleRuby retweeted
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/truff…
1
5
48
2,712
TruffleRuby retweeted
TruffleRuby 33 is out 🚀 - Completely independent, no longer under Oracle - Fastest Ruby to install now - Ruby 3.4 support underway truffleruby.dev/blog/truffle…
4
16
1,099
TruffleRuby retweeted
New blog post: “Matching Regexps 200 Times Faster” eregon.me/blog/2025/03/14/ma…
4
16
1,529
TruffleRuby retweeted
Unsurprisingly, TruffleRuby blazes on these synthetic benchmarks 🏃 @eregontp
2
2
7
502
TruffleRuby retweeted
This release addresses several performance issues detected while getting a large Rails app running on TruffleRuby at Shopify. I’ll write up a blog post with more details soon-ish. In the meanwhile, please give it a try. It should run Rails applications quite well.
TruffleRuby 24.1 is released!🚀🎉 It updates to Ruby 3.2.4, gets a lot of compatibility and bug fixes, and significant performance improvements: github.com/oracle/trufflerub… Available via ruby-install/ruby-build/rbenv/asdf/rvm/setup-ruby as usual.
1
7
522
TruffleRuby retweeted
Replying to @k0kubun
FWIW @TruffleRuby is 45 times faster than YJIT on that benchmark and more importantly has the same performance for all 3 variants! gist.github.com/eregon/8e104…
2
2
14
782
TruffleRuby retweeted
I wrote (somewhat extensively) about the current state of the Ruby language frontend, including Prism, LRama, "universal" parser, and much more. I hope this post is able to answer all of the questions I keep getting about where everything is heading. railsatscale.com/2024-04-16-…
5
23
2
89
8,446
TruffleRuby retweeted
Replying to @TruffleRuby
@TruffleRuby is doing well on the plb2 benchmarks at github.com/attractivechaos/p…, between Node.js/V8 and LuaJIT for total time. TruffleRuby is labeled as rb:graal+ on the picture.
8
15
1,871
TruffleRuby retweeted
Just got @TruffleRuby to boot, load its core library and print hello world with the new Ruby parser: Prism (aka YARP)! Thanks to the awesome work by @andrykonchin to incrementally migrate from the old parser to the new one. #ruby #prism #yarp
1
8
1
54
6,060
TruffleRuby retweeted
I'm pretty excited about the upcoming improved support for TruffleRuby within Bootsnap. It can really help speed up the loading of Rails applications. Randy Stauner, who led up that work, wrote up how we expanded Bootsnap to cover TruffleRuby: railsatscale.com/2023-10-03-…
6
18
1,456
TruffleRuby retweeted
Last week I reimplemented @TruffleRuby's IO.select using poll(2): github.com/oracle/trufflerub…. This not only fixes the issue that select()'s FD_* macros don't handle fd >= 1024 but also makes it faster, e.g. IO.select([1000]) is 2 times faster than before!
1
3
25
1,934
TruffleRuby retweeted
What I love about benchmark results like this is we now know at a minimum how fast Ruby can be. I don't think many Rubyists are aware that you could quadruple the performance of Ruby code without any modifications. But, that's the sort of thing we're aiming for with @TruffleRuby.
TruffleRuby 23.1 (to be released on Sep 19) is 4.6x and 3.5x faster than CRuby 3.2 on the new yjit-bench @fluentd benchmark!
1
7
31
3,131
TruffleRuby retweeted
TruffleRuby 23.1 (to be released on Sep 19) is 4.6x and 3.5x faster than CRuby 3.2 on the new yjit-bench @fluentd benchmark!
1
8
1
55
6,790
TruffleRuby retweeted
This is a huge release that includes several compatibility fixes our team at Shopify ran into getting a large Rails app running. We've also worked around a SimpleCov 0.12.2 issue that broke code coverage on TruffleRuby. Now's a great time to add TruffleRuby to your project's CI!
2
7
923
TruffleRuby retweeted
Our internal CI at Shopify now supports TruffleRuby: railsatscale.com/2023-06-12-… That's a big milestone for us. We now have projects testing against TruffleRuby! But, it's also a stepping stone onto a larger path of production deployment of Rails applications on @TruffleRuby.
9
2
51
5,670