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

JIT compiler support #29

Open
jabraham17 opened this issue Feb 13, 2023 · 0 comments
Open

JIT compiler support #29

jabraham17 opened this issue Feb 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jabraham17
Copy link
Owner

three versions of JIT all work for static and dynamic

  • method 1: lazy JIT, every time we jump to a new section of code compile, transpile to x86, then do the jump to the native x86 code. save that transpiled x86 code so we don't have to recompile it. this is essentially an optimizing compiler. we can then add heuristics of WHEN to do this. do we do it immediately or wait a couple of times to see if it is hot code?
  • method 2: eager JIT, transpile everything, then jump to start and just execute
  • method 3: conversion, transpile everything and write out a new executable that will run natively. this isn't really JIT, more like a transpiler.
@jabraham17 jabraham17 added the enhancement New feature or request label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant