Is it possible to optimize this bytecode interpreter more?

This page summarizes the projects mentioned and recommended in the original post on /r/ProgrammingLanguages

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • compiler-explorer

    Run compilers interactively from your web browser and interact with the assembly

    https://godbolt.org/ is your friend, take a peek at the generated code and see how much is actually going on, you may find that using a switch is just as effective as the computed goto and more portable? Don't forget how expensive it may be to generate those stackframes caling those functions I mentions in 3 above.

  • SVM

    Simple stack-based bytecode VM implementations used in my class (by wtakuo)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • langs

    Actually the next thing I did after trying svm.c was to port it to my systems language to see how my compiler managed with it. (Source is here.)

  • compiler

    an incomplete toy barebones compiler backend for amd64 x86_64 in Python and an incomplete JIT compiler written in C (by samsquire)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts