This post is part of the Stack Based Virtual Machines series. After the introduction in the last part, it’s time to start writing some code and dig into stack based virtual machines. We’re going to write a very simple VM in Java (yes, that’s a stack-based virtual machine - our program - running on a stack-based virtual machine - the JVM - that runs on a register-based hardware machine - your CPU.| andreabergia.com
This post is part of the Writing a JVM in Rust series. Lately I’ve been spending quite a bit of time learning Rust, and as any sane person would do, after writing a few 100 lines programs I’ve decided to take on something a little bit more ambitious: I have written a Java Virtual Machine in Rust. 🎉 With a lot of originality, I have called it rjvm. The code is available on GitHub.| andreabergia.com