Thinking about my VM again. One of the requirements was that it be easy to repli...

@eniko@mastodon.gamedev.place

Thinking about my VM again. One of the requirements was that it be easy to replicate, but atm the interpreter takes the binary IR and compiles it to a register machine bytecode which it then runs and the compiler is not at all friendly. It's also harder to work on because of this

Maybe I should instead make a reference implementation that runs the IR as a stack machine and leave the register machine compiler concept as an exercise in optimization 🤔