GraalVM Native Binaries
Immortalin opened this issue · 4 comments
Would make startup faster
Is it possible? How is Babashka compatibility?
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.
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.
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.