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

GraalVM Native Binaries #34

Open
Immortalin opened this issue Mar 17, 2019 · 4 comments
Open

GraalVM Native Binaries #34

Immortalin opened this issue Mar 17, 2019 · 4 comments

Comments

@Immortalin
Copy link

Would make startup faster

@zikajk
Copy link

zikajk commented Feb 19, 2021

Is it possible? How is Babashka compatibility?

@mogenslund
Copy link
Owner

I think it is possible to some extend. I have done some experiments with the interaction between Babashka and the terminal, which looks promising. I would need to do some refactoring to separate Babashka specific parts from JVM specific parts.
My best guess is that it will be slow. Startup will be fast, but general performance slow.
Another critical point is live evaluation. I do not no how that will work.
It would be fun to see, how far I could go, but I have not had time to pursue it further.

@mogenslund
Copy link
Owner

Anyway, I think refactoring out JVM specific parts should be done at some point. This will make it easier to port it to any other Clojure flavor.

@mogenslund
Copy link
Owner

Hmm. Just by removing JFrame related code (which is not needed when used in the terminal) it is possible to build a native graalvm image :-) Of cause you cannot use eval then.

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

3 participants