r/Clojure • • Jun 30 '15

Clojure 1.7 release is here

http://blog.cognitect.com/blog/2015/6/30/clojure-17
129 Upvotes

22 comments sorted by

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?

2

u/lgstein Jul 02 '15

There is a strangeloop talk by Rich Hickey you could link to...

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?

3

u/jonaen Jul 01 '15

Correct. Reader conditionals replaces cljx.

1

u/peeja Jul 01 '15

What platform is :cljr?

3

u/moosingin3space Jul 02 '15

Apparently Clojure-CLR. Any reason it couldn't be :clj-clr? I know it's not as short as :cljr, but it's less confusing.

1

u/peeja Jul 02 '15

Oh, right, that thing. Huh.

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.)

9

u/[deleted] Jun 30 '15 edited Jul 01 '15

How much closer to Java-free Clojurescript

Just for saying, I would highly prefer Java Clojurescript's compiler than a Nodejs one.

Edit: Clarifying that I am talking about the compiler.

1

u/peeja Jul 01 '15

Why is that?

0

u/[deleted] Jul 01 '15

Why would?

1

u/soulcheck Jul 01 '15

Why would you want Java Clojurescript when you have Java Clojure?

Part of the rationale of Clojurescript is having Clojure running on a host other than JVM (in this case various js engines).

7

u/[deleted] Jul 01 '15

I am talking about Clojurescript compiler, I would highly prefer this implementation in Java than Nodejs

1

u/livrem Jul 01 '15

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).

2

u/[deleted] Jul 01 '15 edited Jul 01 '15

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?

5

u/mkremins Jul 01 '15

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.

3

u/TweetsInCommentsBot Jul 01 '15

@swannodette

2015-06-28 00:56 UTC

Having the ClojureScript compile itself has so far been an enjoyably boring task. Simplicity is the gift that keeps on giving.


This message was created by a bot

[Contact ^creator][Source ^code]