3 ms·
ClojureScript compiles to JavaScript doesn't it? And isn't ClojureScript written in ClojureScript? So why would you need a JVM in the first place? What is new?
by chrisseaton 9y ago
ClojureScript compiles to JavaScript doesn't it? And isn't ClojureScript written in ClojureScript? So why would you need a JVM in the first place? What is new?
- evilduck 9y agoGoogle Closure Compiler being available to JS is relatively new. That was previously a JVM only ability.
- chrisseaton 9y agoWhy do you need Closure though? If ClojureScript's compiler compiles to JS, why do you need Closure? You already have JS code and can already run it.
- jnmandal 9y agoClojureScript relies on closure compiler for dead code elimination.
- oneweekwonder 9y agoAs mentioned cljs needs the google closure tools, basicly for Libraries, Dependency management and Aggressive code minification. Clojurescript has a short about[0] on their website. [0]: https://clojurescript.org/about/closure https://clojurescript.org/about/closure