
TruffleRuby
@TruffleRuby
Followers
2K
Following
235
Media
14
Statuses
306
A High-Performance Ruby Implementation on top of @GraalVM. Tweets by @eregontp. TruffleRuby logo by Talkdesk Inc. https://t.co/bYkaWTz2ht
Joined January 2017
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:
1
2
31
RT @nirvdrum: This release addresses several performance issues detected while getting a large Rails app running on TruffleRuby at Shopify.β¦.
0
1
0
RT @eregontp: @k0kubun FWIW @TruffleRuby is 45 times faster than YJIT on that benchmark and more importantly has the same performance for aβ¦.
0
2
0
RT @kddnewton: I wrote (somewhat extensively) about the current state of the Ruby language frontend, including Prism, LRama, "universal" paβ¦.
0
25
0
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 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
RT @graalvm: GraalVM for JDK 22 is here!π. What's new: .The release notes: Download now!π.hβ¦.
0
104
0
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
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
RT @eregontp: @TruffleRuby is doing well on the plb2 benchmarks at between Node.js/V8 and LuaJIT for total time. Tβ¦.
0
8
0
This means the childprocess (5+) gem is now perfectly compatible on all Rubies, including TruffleRuby! (the previous backends had various issues: .
Woot, my PR to replace childprocess many backends by pure-Ruby Process.spawn has been finally merged: 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
This is now complete, reimplemented Hash in TruffleRuby in in a faster and more compact way! It will be in TruffleRuby 24.0 π.
We are excited to have MMosy ( 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
RT @eregontp: Just got @TruffleRuby to boot, load its core library and print hello world with the new Ruby parser: Prism (aka YARP)!.Thanksβ¦.
0
8
0