4 ms·
See also babashka, a native Clojure implementation for scripting. https://github.com/babashka/babashka https://github.com/babashka/babashka
by perrygeo 4y ago
See also babashka, a native Clojure implementation for scripting. https://github.com/babashka/babashka https://github.com/babashka/babashka
- cube2222 4y agoAn important difference is that afaik Babashka is an interpreter, so will be fairly slow. It's fast at starting. While this is LLVM JIT, so will compile the Clojure code to native code just-in-time, and then run the native code.
- joshlemer 4y agoIt also is not the entire Clojure language as far as I understand, some features are not supported because it's using the "Small Clojure Interpreter"
- synthc 4y agobabashka is great for scripting, but it is basically is a Clojure interpreter written in AOT compiled Graal-compatible Clojure. Because is is AOT compiled is starts fast, but its much slower than JVM-Clojure for long running tasks. A natively compilable Clojure would be great for other use cases, especially if it can be made more memory-efficient (Clojure is a memory hog)