Compiling ClojureScript Projects Without the JVM
anmonteiro.com
Compiling ClojureScript Projects Without the JVM
1–10 of 15 posts
Re: Compiling ClojureScript Projects Without the JVM
#21. 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.
Re: Compiling ClojureScript Projects Without the JVM
#3TL;DR: 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
Re: Compiling ClojureScript Projects Without the JVM
#4Re: Compiling ClojureScript Projects Without the JVM
#5ClojureScript 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
#6Re: Compiling ClojureScript Projects Without the JVM
#7ClojureScript 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?
Google Closure Compiler being available to JS is relatively new. That was previously a JVM only ability.
Re: Compiling ClojureScript Projects Without the JVM
#8Earlier quoted context omitted.
Google Closure Compiler being available to JS is relatively new. That was previously a JVM only ability.
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
#9Re: Compiling ClojureScript Projects Without the JVM
#10Earlier quoted context omitted.
Google Closure Compiler being available to JS is relatively new. That was previously a JVM only ability.
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.