Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

One of the reasons that ClojureScript is so fast and efficient is that it leans heavily on the Google Closure optimizing compiler. This compiler goes beyond normal "minimzation" and goes into dead code removal, function inlining and a ton of other stuff. That compiler is written in Java. So it's highly unlikely that JVM is removed as a dev-time requirement anytime in the near future.

On the other hand, I have never really seen a need to remove it. Once the CLJS compiler is up and running, incremental compilations on huge codebases (~300 files) takes a fraction of a second. So in the end...I'd rather have the JVM as a requirement if it allows that fast of a dev cycle.



Another reason is that is doesn't do all the things that standard Clojure does, which are the actual cause for slowness, it is not the JVM.

http://blog.ndk.io/2014/02/11/jvm-slow-startup.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: