Re:Compiling ClojureScript Projects Without the JVM
by chrisseaton on Thursday November 02, 2017 @10:52AM
(#15610902)
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?
[ Parent
| on HN ]
Re:Compiling ClojureScript Projects Without the JVM
by evilduck on Thursday November 02, 2017 @11:03AM
(#15611023)
Google Closure Compiler being available to JS is relatively new. That was previously a JVM only ability.
Re:Compiling ClojureScript Projects Without the JVM
by chrisseaton on Thursday November 02, 2017 @11:19AM
(#15611181)
Why 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.
Re:Compiling ClojureScript Projects Without the JVM
by oneweekwonder on Thursday November 02, 2017 @12:07PM
(#15611617)
As 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.