3 ms·
I like Clojure, but anyway to make it start faster in a scripting context? I wrote the same script in Clojure and Kotlin, and the Kotlin one loads so much faste
by EdwardDiego 11y ago
I like Clojure, but anyway to make it start faster in a scripting context? I wrote the same script in Clojure and Kotlin, and the Kotlin one loads so much faster.
- yogthos 11y agoThere's Planck for OS X https://github.com/mfikes/planck https://github.com/mfikes/planck It uses JavaScriptCore and starts practically instantly. There's some work being done to port it to Linux/Windows as well. Here's an example: cat foo.cljs #!/usr/local/bin/planck (println "hello world: clojurescript -> planck -> as shell script") ./foo.cljs hello world: clojurescript -> planck -> as shell script Planck can be installed using homebrew now as well. Another promising option is Pixie https://github.com/pixie-lang/pixie https://github.com/pixie-lang/pixie
- EdwardDiego 11y agoCheers mate :)