Compiling Ruby to Machine Language

I’ve started working on a new edition of Ruby Under a Microscope that covers Ruby 3.x. I’m working on this in my spare time, so it will take a while. Leave a comment or drop me a line and I’ll email you when it’s finished. Here’s an excerpt from the completely new content for Chapter 4, about YJIT and ZJIT. I’m still finishing this up… so this content is fresh off the page! It’s been a lot of fun for me to learn about how JIT compilers work and to brush up on my Rust skills as well. And it’s very exciting to see all the impressive work the Ruby team at Shopify and other contributors have done to improve Ruby’s runtime performance. Chapter 4: Compiling Ruby To Machine Language Interpreting vs. Compiling Ruby Code4 Yet Another JIT (YJIT)6 Virtual Machines and Actual…

Read more on Hacker News