Classes as a Bunch of Independed VMs

Home / 2025 / 05 / 31

I want to explore what and object-oriented programming system looks like where each object is represented as a VM running on the host hardware.

VMs should be independent of each other so that they can't crash each other.

VMs should also be specialized for the work of the class/object. You will have different compilers for different types of classes/objects that compile those to VMs specialized in solving those problem.

I'm not sure what the point of this would be. Other than exploring ideas that I think are interesting.