Get the latest tech news
Exploring Ruby Ractors – I paid for for 10 cores I'm gonna use 10 cores
Exploring Ruby Ractors true concurrency for fun and discovering the impressive performance gains YJIT offers.
I set out today for a silly explore hoping to waste some CPU with a whole bunch of ractors doing math, but I find that YJIT is pretty amazing. A lot of smarter people than I have written about why it turns out in practice there are better ways to take advantage of all the lightning trapped in the sand in your computer. After iteratively isolating and removing issues, I’ve reached a point where my test cases are reproducing results within error bars that are good enough for me.
Or read this on Hacker News