riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Register-based VM #61

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

Todo: add benchmarking data

Riff's stack-based VM is pretty fast, but gets outclassed by register-based VMs in benchmarks where a lot of values need to be pushed on and popped from the stack (e.g. N-body).

This will be a fairly significant undertaking if I ever get the time to implement this.