virtual machine written in C++11