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 #3

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open

Jit #3

wants to merge 54 commits into from

Conversation

HodanPlodky
Copy link
Owner

Jit compiler

Implementation of jit compiler and all of the machinery around it.

Implementation of jit

The jit is implemented as basic code inline, there are no optimization that would take advantage of dynamic type information or any other dynamic information.

While running in the jit mode the code uses all of the structures in the bytecode interpreter as if it was running bytecode. Jit only supports x86_64 assembly and it could be quite brittle.

@@ -1,2 +1,2 @@
let f = fn() = "a" + 1;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check this bro

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

Successfully merging this pull request may close these issues.

1 participant