This is the first cut of a new talk I'm developing on implementing virtual machines in Ruby. In this instalment I cover the basic ideas behind interpreting a simple instruction set based on stacks, registers, and vectors. Many of the examples include simple assembler
Another theme explored in the examples is that of sandboxing, protected operations, and primitive assembly/compilation.
All of the code is written in Ruby and there are some interesting techniques used.