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

Performance TODOs #33

Open
5 tasks
jprochazk opened this issue Jul 3, 2023 · 0 comments
Open
5 tasks

Performance TODOs #33

jprochazk opened this issue Jul 3, 2023 · 0 comments

Comments

@jprochazk
Copy link
Owner

  • Tracing garbage collector
  • Switch to register-based bytecode (without accumulator)
  • Fixed-width bytecode + use an enum for instruction encoding
  • Improve loop codegen (put latch at the end of the body, eliminates 2 jumps)
  • Rewrite VM from the ground up, thoroughly benchmarking it to ensure it is competitive in performance against other VMs in the same category
    - Lua 5.4
    - Python 3.11
    - Node.js --jitless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant