assyrianic / Tagha

Minimal, low-level, fast, and self-contained register-based bytecode virtual machine/runtime environment.
MIT License
124 stars 8 forks source link

Upgrade Tagha's VM to Register-based #15

Closed assyrianic closed 7 years ago

assyrianic commented 7 years ago

I have created a prototype register-based version with a working stack for (recursive) function calls. Reopening!

assyrianic commented 7 years ago

upgrading to a register based VM would allow for existing compilers to use some of the most advanced optimization techniques available compared to stack-based VMs which are mostly offset in speed using a JIT rather than pure optimization.