Re:Compiling ClojureScript Projects Without the JVM
by ambulancechaser on Thursday November 02, 2017 @10:49AM
(#15610876)
I think the article was saying that the javascript version of the google closure library is slower than the jvm based version so this would actually be a little bit slower.
Further, it has a serious restriction in that the version of cljs used by lumo itself is now the version of cljs that your project must use.
The cljs version is a pretty serious caveat but this seems like a really nice milestone on quite a bit of work. kudos to anmonteiro
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?
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.
1. Lumo runs ClojureScript without the need for a JVM. It relies on Node.js and Google V8.
2. ClojureScript compiler is self-hosted, thus:
3. Now you can compile ClojureScript without the need for a JVM. As a bonus, enjoy shorter start-up times.
Further, it has a serious restriction in that the version of cljs used by lumo itself is now the version of cljs that your project must use.
The cljs version is a pretty serious caveat but this seems like a really nice milestone on quite a bit of work. kudos to anmonteiro
[0]: https://clojurescript.org/about/closure