News for hackers. Stuff that matters.
Re:Ask HN: “Write your own” or “Build your own” software pro... by n_t on Thursday March 15, 2018 @12:41PM (#16594365)
JVM might be much more involved project but here is a simple virtual machine - https://github.com/skx/simple.vm
Re:Ask HN: “Write your own” or “Build your own” software pro... by stevekemp on Saturday March 17, 2018 @01:55PM (#16608143)
That's my project, and it seems to be surprisingly popular, yet something I've never really received any feedback on.

At the time I wrote it I was modeling the opcodes on the Z80, but I guess I simplified once I'd got it working enough to make myself happy. (Lots of toy-virtual machines, of which this definitely is one, don't implement labels or "decompilers".)