3 ms·
> Does this get around the issue of the BEAM taking a while to spin up? I'd be interested in hearing the answer too. One of the things that has held back Cloj
by simongray 6y ago
> Does this get around the issue of the BEAM taking a while to spin up?
I'd be interested in hearing the answer too.
One of the things that has held back Clojure's adoption as a general-purpose CLI scripting language has been the cost of JVM + Clojure bootstrapping. It's not long in the grand scheme of things, but 1 second matters a lot when chaining commands in the shell. There is now a CLI scripting version of Clojure that gets around this issue by running Clojure (and some bundled libraries) as native code through Graalvm native-image: https://github.com/borkdude/babashka https://github.com/borkdude/babashka