TruffleRuby Profile Banner
TruffleRuby Profile
TruffleRuby

@TruffleRuby

Followers
2K
Following
235
Media
14
Statuses
307

A High-Performance Ruby Implementation on top of @GraalVM. No longer active on X, see https://t.co/8zyzzTZynH and https://t.co/bYkaWTz2ht

Joined January 2017
Don't wanna be here? Send us removal request.
@TruffleRuby
TruffleRuby
3 months
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. https://t.co/SPHk7255ry
Tweet card summary image
github.com
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...
0
6
24
@TruffleRuby
TruffleRuby
9 months
TruffleRuby 24.2 is released!πŸš€πŸŽ‰ It uses the new Java Panama API in JVM mode to speedup C extensions like sqlite3, trilogy & json by 2 to 3 times! It optimizes encoding negotiation, and updates to Ruby 3.3! All changes: https://t.co/7Vr6BCiXzc Blog post:
0
3
10
@eregontp
Benoit Daloze
9 months
New blog post: β€œMatching Regexps 200 Times Faster” https://t.co/5oXCSSk2NZ
0
4
17
@jpcamara
jpcamara
1 year
Unsurprisingly, TruffleRuby blazes on these synthetic benchmarks πŸƒ @eregontp
2
2
7
@nirvdrum
Kevin Menard
1 year
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
TruffleRuby
1 year
TruffleRuby 24.1 is released!πŸš€πŸŽ‰ It updates to Ruby 3.2.4, gets a lot of compatibility and bug fixes, and significant performance improvements: https://t.co/4SZlOT58JS Available via ruby-install/ruby-build/rbenv/asdf/rvm/setup-ruby as usual.
0
1
7
@TruffleRuby
TruffleRuby
1 year
The main performance improvement is a complete review of all 100+ inline caches to ensure they use splitting to keep these inline caches as fast and monomoprhic as possible. You can find more information about splitting and inline caches in this talk:
0
0
1
@TruffleRuby
TruffleRuby
1 year
TruffleRuby 24.1 is released!πŸš€πŸŽ‰ It updates to Ruby 3.2.4, gets a lot of compatibility and bug fixes, and significant performance improvements: https://t.co/4SZlOT58JS Available via ruby-install/ruby-build/rbenv/asdf/rvm/setup-ruby as usual.
Tweet card summary image
github.com
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...
1
3
11
@eregontp
Benoit Daloze
2 years
@k0kubun FWIW @TruffleRuby is 45 times faster than YJIT on that benchmark and more importantly has the same performance for all 3 variants!
Tweet card summary image
gist.github.com
GitHub Gist: instantly share code, notes, and snippets.
2
2
14
@kddnewton
Kevin Newton
2 years
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. https://t.co/d6it5weNt3
Tweet card summary image
railsatscale.com
In Ruby 3.3.0, a new standard library was added to CRuby called Prism. Prism is a parser for the Ruby language, exposed as both a C library (optionally usable by CRuby) and a Ruby library (usable as...
5
23
89
@TruffleRuby
TruffleRuby
2 years
Full support for the Ruby 3.2 & 3.3 syntax, including pattern matching, was made possible by adopting the Prism parser, which is about twice as fast as the old parser!
@TruffleRuby
TruffleRuby
2 years
TruffleRuby is now using Prism as its Ruby parser! πŸš€ This means *all* the Ruby 3.3 syntax is supported, no exception! It is also twice as fast as the previous parser written in Java! And future Ruby syntax will be available very quickly in TruffleRuby.
0
0
1
@TruffleRuby
TruffleRuby
2 years
Native extensions are now compiled using the system toolchain and executed natively instead of using GraalVM LLVM (Sulong), which leads to faster startup, faster warmup, better compatibility, smaller distribution and faster installation.
1
0
1
@TruffleRuby
TruffleRuby
2 years
TruffleRuby 24.0 is released!πŸš€πŸŽ‰ It ships with 3 major features: * Native extensions are executed natively for faster warmup * Near-complete support for Ruby 3.2 (97.4% of specs) * Full support for the Ruby syntax by adopting the Prism parser All changes:
github.com
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...
@graalvm
GraalVM
2 years
What's new in Truffle 24.0 and Graal Languages:
1
2
30
@graalvm
GraalVM
2 years
GraalVM for JDK 22 is here!πŸŽ‰ What's new: https://t.co/nfsWLeM4Kp The release notes: https://t.co/eR5sxC0jzU Download now!πŸš€ https://t.co/ueQ1ZUwV0j #GraalVM @Java #Java22
Tweet card summary image
medium.com
Today we are releasing GraalVM for JDK 22!
5
104
288
@TruffleRuby
TruffleRuby
2 years
I would like to thank all contributors to Prism, which improved and will improve so much Ruby tooling & implementations: @kddnewton haldun @JemmaIssroff @eregontp @flavorjones @froydnj @make_now_just @theHessParker @tom_enebo @vinistock and many more:
0
0
8
@TruffleRuby
TruffleRuby
2 years
This was a large effort which started a year ago and was the main focus of @andrykonchin for the last 4 months, but is all worth it maintenance-wise, especially since the old parser (based on parse.y) was difficult to update. Prism also has a much cleaner AST and is well designed
1
0
4
@TruffleRuby
TruffleRuby
2 years
TruffleRuby is now using Prism as its Ruby parser! πŸš€ This means *all* the Ruby 3.3 syntax is supported, no exception! It is also twice as fast as the previous parser written in Java! And future Ruby syntax will be available very quickly in TruffleRuby.
1
12
77
@TruffleRuby
TruffleRuby
2 years
TruffleRuby 23.1.2 is released!πŸš€πŸŽ‰ This is a patch release and contains important bug fixes as well as fixing issues with XCode 15 on macOS. ChangeLog:
github.com
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...
0
1
4
@eregontp
Benoit Daloze
2 years
@TruffleRuby is doing well on the plb2 benchmarks at https://t.co/Tx0Kx5tvUU, between Node.js/V8 and LuaJIT for total time. TruffleRuby is labeled as rb:graal+ on the picture.
0
8
16
@TruffleRuby
TruffleRuby
2 years
This means the childprocess (5+) gem is now perfectly compatible on all Rubies, including TruffleRuby! (the previous backends had various issues: https://t.co/vRAuatqXgA)
@eregontp
Benoit Daloze
2 years
Woot, my PR to replace childprocess many backends by pure-Ruby Process.spawn has been finally merged: https://t.co/tV5gx5WPPj 2000 lines less, no more calling low-level C, and it should be fully compatible! Thank you @shanedasilva for taking maintenance of this gem! #Ruby #OSS
0
0
8
@TruffleRuby
TruffleRuby
2 years
This is now complete, https://t.co/zdO2Z3nY4O reimplemented Hash in TruffleRuby in https://t.co/5O2y7AhBH8 in a faster and more compact way! It will be in TruffleRuby 24.0 πŸŽ‰
Tweet card summary image
github.com
This implements a "Compact" approach to hash tables, described at a high level here. TLDR : This is a representation strategy that efficiently (hopefully!) allows insertion-order...
@TruffleRuby
TruffleRuby
3 years
We are excited to have MMosy ( https://t.co/zdO2Z3nY4O) join us for a for a Google Summer of Code and work on implementing a faster and more compact Hash representation in TruffleRuby! #GSoC2023
0
2
9