Re: [ANN] Clojure 1.8.0-alpha3

2015-08-24 Thread Sean Corfield
d.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood From: Sean Corfield Date: Monday, August 17, 2015 at 7:50 PM To: Subject: Re: [ANN] Clojure 1.8.0-alpha3 Clojure 1.8.0-alpha3 is now available. … Tuples have been disabled after furthe

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-17 Thread Sean Corfield
Clojure 1.8.0-alpha3 is now available. … Tuples have been disabled after further analysis of performance impacts. Out of curiosity, could this have surfaced in alpha2 as a memory leak? We had alpha2 in production for about a week and it looked like we were seeing a very slow memory leak. Our nex

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-13 Thread Alex Miller
Not to my knowledge but could be I suppose. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsu

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-12 Thread Sean Corfield
Clojure 1.8.0-alpha3 is now available. … Tuples have been disabled after further analysis of performance impacts. Out of curiosity, could this have surfaced in alpha2 as a memory leak? We had alpha2 in production for about a week and it looked like we were seeing a very slow memory leak. Our nex

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-04 Thread Alex Miller
I think 1.8.0-alpha4 addresses this issue? Can you verify? On Wednesday, July 29, 2015 at 8:23:16 PM UTC-5, Mikera wrote: > > Hi Alex, > > 1.8.0-alpha3 is breaking core.matrix at the moment. > > Root cause appears to be related to how protocols are being handled when > used with Java arrays: > >

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-02 Thread Dragan Djuric
Is there any introduction/example/short intro on direct linking? On Thursday, July 30, 2015 at 12:51:18 AM UTC+2, Alex Miller wrote: > > Clojure 1.8.0-alpha3 is now available. > > Try it via > - Download: > https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-alpha3 > - Leiningen: [org.clojur

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-31 Thread Eduardo Aquiles Affonso Radanovitsck
Thanks for the clarification! *--* *Eduardo Aquiles Radanovitsck* ThoughtWorks Brasil On Fri, Jul 31, 2015 at 6:02 PM, Ben Wolfson wrote: > On Fri, Jul 31, 2015 at 1:57 PM, Eduardo Aquiles Affonso Radanovitsck < > eduardoaquiles...@gmail.com> wrote: > >> Not sure if this is expected or not: >>

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-31 Thread Ben Wolfson
On Fri, Jul 31, 2015 at 1:57 PM, Eduardo Aquiles Affonso Radanovitsck < eduardoaquiles...@gmail.com> wrote: > Not sure if this is expected or not: > > (map (fn [v] {:k v}) #{1 2 3}) > => ({:k 1} {:k 3} {:k 2}) > (map #({:k %}) #{1 2 3}) > ArityException Wrong number of args (0) passed to: Persiste

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-31 Thread Eduardo Aquiles Affonso Radanovitsck
Not sure if this is expected or not: (map (fn [v] {:k v}) #{1 2 3}) => ({:k 1} {:k 3} {:k 2}) (map #({:k %}) #{1 2 3}) ArityException Wrong number of args (0) passed to: PersistentArrayMap clojure.lang.AFn.throwArity (AFn.java:429) *--* *Eduardo Aquiles Radanovitsck* On Wed, Jul 29, 2015 at 11:

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Alex Miller
Thanks, I forwarded this stuff over to Rich. We appreciate people trying it and reporting stuff! On Wednesday, July 29, 2015 at 8:23:16 PM UTC-5, Mikera wrote: > > Hi Alex, > > 1.8.0-alpha3 is breaking core.matrix at the moment. > > Root cause appears to be related to how protocols are being ha

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Daniel Compton
For those wondering like me what "Direct Linking" is, here are a few links I could find. This seems to be a very old possible improvement to Clojure which is being looked at again. http://dev.clojure.org/display/design/Build+Profiles https://groups.google.com/forum/#!msg/clojure-dev/guT3QBEg5w0/

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Mikera
Hi Alex, 1.8.0-alpha3 is breaking core.matrix at the moment. Root cause appears to be related to how protocols are being handled when used with Java arrays: e.g. for the protocol implementation: (extend-protocol mp/PImplementation (Class/forName "[Ljava.lang.Object;") (implementation-key

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Sean Corfield
Somewhat related, I had this code which "worked" on Alpha 2: (defn ^java.nio.ByteBuffer to-byte-array [^com.eaio.uuid.UUID u] (let [lo (.getClockSeqAndNode u) hi (.getTime u)] (-> (java.nio.ByteBuffer/allocate 16) (.putLong hi) (.putLong lo) (.array (can anyone

Re: [ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Rangel Spasov
Hey guys, I'm getting this compiler error after upgrading to alpha3, I assume it has something to do with the direct linking changes? I think it's related to clj-ssh library, and this method specifically: (defn- ^{:tag (Class/forName "[B")} as-bytes "Return arg as a byte array. arg must be a

[ANN] Clojure 1.8.0-alpha3

2015-07-29 Thread Alex Miller
Clojure 1.8.0-alpha3 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-alpha3 - Leiningen: [org.clojure/clojure "1.8.0-alpha3"] Tuples have been disabled after further analysis of performance impacts. This alpha has initial support for direct linki