JP Camara @jpcamara.com · Apr 20

If you read @byroot.bsky.social 's "What's the deal with Ractors?", and were bummed at how poorly they handled JSON parsing, then @jhawthorn.com has brightened your day! Frozen interned strings are now stored in a lock-free hash, making the Ractor example 2x faster than the single-threaded example!

31 likes 1 replies

?

Replies

JP Camara · Apr 20

This will land in Ruby 3.5: github.com/ruby/ruby/pu... These kind of improvements, and the Ratomic gem from @mike.contribsys.com (based on Ilya Bylich's work) could start to turn the tide on Ractor usefulness! byroot.github.io/ruby/perform... iliabylich.github.io/ruby-ractors...