News for hackers. Stuff that matters.
Re:Implementing a Virtual Machine in C by stevekemp on Saturday May 09, 2015 @03:31PM (#9517410)
Agreed. I wrote a simple virtual machine, and the most interesting thing was writing the compiler that would read my "assembly", and spit out the bytecode. Including handling labels and jumping instructions.

My VM was very simple, and I've not touched it for a while, but the whole thought of how to handle branching was what made it more interesting than other similar toy systems.

https://github.com/skx/simple.vm

There are no comments on this comment yet.