YARV’s Internal Stack and Your Ruby Stack
patshaughnessy.net·1d
Flag this post

November 10th 2025 — Comments and Reactions

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](mailto:pat@patshaughnessy.net?subject=Ruby Under a Microscope Update) and I’ll email you when it’s finished.

The content of Chapter 3, about the YARV virtual machine, hasn’t changed much since 2014. However, I did update all of the diagrams to account for some new values YARV now saves inside of each stack frame. And some of the common YARV instructions were renamed as well. I also moved some content that was previously part of Chapter 4 here into Chapter 3. Right now I’m rewriting C…

Similar Posts

Loading similar posts...