4 ms·
"The JVM is many nice things, some nasty things, but definitely not lightweight in terms of things like startup speed" The jvm startup speed is actually surpri
by benjaminjackman 11y ago
"The JVM is many nice things, some nasty things, but definitely not lightweight in terms of things like startup speed"
The jvm startup speed is actually surprisingly good these days. We were experimenting with writing several commandline tools with Scala, and didn't think they would work because of this "well-known" issue. Turns out it was fast enough even to enable letting Scala handle things like the code completion and still have it feel very snappy.
- muraiki 11y agoI'd agree that the JVM itself isn't so bad in terms of startup time. However, the last time I compared Clojure and Scala, Clojure took significantly longer to start up (even though what I was doing in Clojure was nothing compared to all the libraries I was pulling in with Scala!) Edit: I should add that there's a Perl 6 JVM backend. While it's not as up-to-date as the default MoarVM, it could also be ready "for Christmas" :)
- provemewrong 11y agoYeah, I remember seeing The (Clojure) "JVM Slow Startup Time" Myth [1] in HN comments last week. [1]: http://blog.ndk.io/2014/02/11/jvm-slow-startup.html http://blog.ndk.io/2014/02/11/jvm-slow-startup.html