3 ms·
This is definitely a valid criticism! Two ways that this may be getting better: GraalVM's native-image and babashka. babashka is a little interpreter that impl
by lvh 6y ago
This is definitely a valid criticism! Two ways that this may be getting better: GraalVM's native-image and babashka.
babashka is a little interpreter that implements large portions of "scripting Clojure" so you can write tiny Clojure scripts the way you'd write bash or Python.
GraalVM's native image is a Serious Compiler (unfortunately also with Serious RAM appetite and compile times, though this has gotten much better over the last few months) that will produce native binaries on Windows, macOS and Linux.
- dorian-graph 6y ago> babashka I recently was looking for something like this and I also found Planck, Lumo, and Eden. Do you (or anyone) know of a comparison between them?
- joobus 6y agoPlanck uses the os native webview for execution. Lumo runs on node. Eden is compatible with most clojure libraries, and is meant for embedding. Babashka is a clojure interpreter written in clojure and compiled with GraalVM. I've used Planck and babashka for shell scripting and prefer babashka.
- dorian-graph 6y agoThank you, that was a good overview! I started giving Babashka a quick go and it looks like it'll work well for what I wanted to use it for.