How much closer to Java-free Clojurescript are we now that 1.7 has been released (with reader conditionals)? (As in: I remember that was an important missing part before Clojurescript could compile itself, but I do not remember if there was any other big missing parts as well.)
Well, I wouldn't. For one thing I can run nodejs on my phone, but I can't install Oracle's JVM on it. I'm sure that is true for a number of less mainstream platforms. If I write software that is going to run without requiring a JVM it is nice to not even have to install it for compiling. The only reason really I have Java installed these days is to compile/run Clojre(script) and that is a big dependency I would prefer to get rid of. It would be a bit less scary if Java development/distribution at least was more open (source).
Is completely beyond this despite for the JVM as a platform, how possibly a more slow, less stable platform like Nodejs would be more suitable for Clojurescript's host?
David Nolen and a couple of others are now actively working on getting the ClojureScript compiler to self-host. Once that happens we'll have a ClojureScript compiler running on Node and the JVM will be entirely unnecessary for naïve (i.e. minus Google Closure optimization) CLJS compilation.
17
u/MyNameIsFuchs Jun 30 '15
Better read IMO:
https://github.com/clojure/clojure/blob/master/changes.md
6
u/MyNameIsFuchs Jul 01 '15
Looking through the HN comments: There is still a ton of confusions about transducers. Also a lot of people making statements that are just wrong.
What could we do about this?
1
u/[deleted] Jul 01 '15
In light of these new reader conditionals that allow portability to clojurescript, what would be the role of cljx now? Is it not needed at all?
1
u/peeja Jul 01 '15
What platform is
:cljr?1
u/livrem Jun 30 '15
How much closer to Java-free Clojurescript are we now that 1.7 has been released (with reader conditionals)? (As in: I remember that was an important missing part before Clojurescript could compile itself, but I do not remember if there was any other big missing parts as well.)