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

GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy. #818

Open
Foxchandaisuki opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Foxchandaisuki
Copy link

GraalPy, which is Python implication of the GraalVM, supports AOT compilation to Native binary.

GraalPy is compiled ahead-of-time to a native executable.
This means that you do not need a JVM to run GraalPy and it is compact in size.

In time of now, most of main implications of Python and JavaScript do NOT support AOT compilation.

For example, NodeJS , Deno, and even Bun only supports Just-in-Time(JIT) compilation and they have no plan to support AOT.

However, the case of GraalPy shows us that making Script language to be compiled to Native binary is technically possible. And already there is an AOT compiler for Javascript like ChowJS, but unfortunately it is a closed source, and maybe a project NOT free of charge.

Static Hermes, which is being developed by Meta shows us that AOT compiling of JavaScript could be a killer feature of the project.

@woess woess added the enhancement New feature or request label May 10, 2024
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

2 participants