3 ms·
If Clojure compiled to native code by default, instead of relying on the JVM, it'd be much more attractive to me. I know many people don't care about this...
by xedrac 3y ago
If Clojure compiled to native code by default, instead of relying on the JVM, it'd be much more attractive to me. I know many people don't care about this...
- giancarlostoro 3y agoYou could probably achieve that via GraalVM I would think.
- TheFreim 3y agoYou definitely can. One example of a large project that does this is babashka, a fast native Clojure scripting runtime. https://babashka.org/ https://babashka.org/
- kmclean 3y agoThis is correct, you can compile Clojure to native code using GraalVM. There are many heavily used projects that do this.
- pjmlp 3y agoAnd OpenJ9. Eventually ART, although here the process would be more convuluted. And if one is willing to give away a couple a big piles of money, PTC and Aicas are still in Java town.