Re:Script Lisp
by newlisper on Saturday February 06, 2021 @03:18PM
(#26049574)
I have given up on Clojure, life is too short to suffer the frustrations of Java libraries.
[ Parent
| on HN ]
Re:Script Lisp
by cyberbanjo on Saturday February 06, 2021 @03:28PM
(#26049649)
The comment your replying to is about a JVM-less Clojure implemtation
Re:Script Lisp
by mark_l_watson on Saturday February 06, 2021 @04:51PM
(#26050320)
Indeed! Babashka is such a cool project. SBCL save-image stand-alone command line apps start very quickly, instantly it seems, but still I think that Babashka scripts or apps even start faster.
GraalVM is based on the JVM, it consumes Java libraries...
Babashka programs run on sci, a Clojure interpreter written in Clojure. That interpreter is compiled with GraalVM to get quick startup time and single binary distribution. But passing on the sins of the father, so to say, here is like dismissing Lua becuase you don't like C libraries.
Providing libraries for babashka works over a language agnostic interface based on bencode-serialized data, and separate processes[1]. Indeed if you look at the pod registry there are pods writtenin Rust, Haskell, Go in addition to Clojure, not to mention the Python example in the pod tutorials.