* Would be nice to have a TOC for such a long article.
* I never implemented a register based VM but I think I remember one of the trickiest things is to allocate the registers when compiling from a higher level language [1], which I don't think is mentioned in the article? I think the article doesn't concern with this since the sample program just uses the bytecode directly.
* Random: been thinking of a DSL that would be able to express a VM logic without having to deal with all the micro details of C... Just found a few academic papers on a quick search investigating the idea, fwiw. [2] [3]
1: https://en.wikipedia.org/wiki/Register_allocation
2: https://link.springer.com/chapter/10.1007/978-3-540-25935-0_...