Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register-based VM #61

Open
darrylabbate opened this issue Dec 24, 2022 · 0 comments
Open

Register-based VM #61

darrylabbate opened this issue Dec 24, 2022 · 0 comments
Labels
compiler Compiler/parser implementation General implementation of the interpreter runtime Virtual machine/runtime

Comments

@darrylabbate
Copy link
Member

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.

@darrylabbate darrylabbate added implementation General implementation of the interpreter runtime Virtual machine/runtime compiler Compiler/parser codegen labels Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Compiler/parser implementation General implementation of the interpreter runtime Virtual machine/runtime
Projects
None yet
Development

No branches or pull requests

1 participant