4 ms·
Also fix clojure startup time please. I want to be able to run it like fast Unix style commands such as ls and grep.
by amelius 10y ago
Also fix clojure startup time please. I want to be able to run it like fast Unix style commands such as ls and grep.
- fnordsensei 10y agoTry Planck if you're on OS X: https://github.com/mfikes/planck https://github.com/mfikes/planck
- amelius 10y agoThanks, but i also need my applications to be portable :S
- fnordsensei 10y agoAlright, how about running it on Node then? I assume this is mostly for scripting, as long running servers and the like wouldn't need to be concerned with start-up times.
- amelius 10y agoThat might be a solution, yes. But Node is a single-threaded engine, so I'm not sure if I can run parts of Clojure which use multiple threads, or if there are other restrictions.
- hashkb 10y agoI think you're missing the point if you want this. Boot once, leave running, swap in new code, interact. A clj process (like most lisps) is alive and dynamic in more ways than you might be used to. There's no need to be constantly booting it.
- swannodette 10y agoOn modern hardware Clojure starts in under a second. I write simple support scripts in Clojure all the time.
- Scarbutt 10y agoAnything that uses the JVM will never (at least for a long time) achieve the startup time of cpython, cruby or node, less of ls and grep, so don't get your hopes up :) - that said, most of clojure's startup problems lie in clojure itself and not the JVM.