Re:Fast JavaScriptCore Desktop ClojureScript REPL
by undershirt on Thursday July 16, 2015 @02:56PM
(#9899205)
Oh, and I left out one of the biggest benefits. We will have a simple option to ship the compiler inside your application, to allow things like the ability to "eval". Just think of interactively inspecting and modifying a running application after it is shipped.
Re:Fast JavaScriptCore Desktop ClojureScript REPL
by pbiggar on Thursday July 16, 2015 @02:54PM
(#9899196)
Surely ClojureScript JS could just shell out to the Google Closure compiler, when available?
Re:Fast JavaScriptCore Desktop ClojureScript REPL
by swannodette on Thursday July 16, 2015 @03:08PM
(#9899270)
Yes it very well could. It really is the same compiler - and the compiler generates Closure Compiler compatible JavaScript.
The "ClojureScript JS" compiler cannot replace the original compiler fully, but is already finding some great use-cases, such as this new insanely fast Planck REPL, targeting new platforms like iOS (see Replete, Ambly, React Native), an in-browser try-it-out REPL for our upcoming website, the ability to try out new libraries from a webpage, and possibly adding ClojureScript support to CodePen.
Lot of great stuff coming.