A port of sage-vm to C++