Clojure 1.3 Alpha 1

23 views
Skip to first unread message

Stuart Halloway

unread,
Sep 23, 2010, 1:23:19 PM9/23/10
to clo...@googlegroups.com
Clojure 1.3 Alpha 1 is now available at

http://clojure.org/downloads

== Changes ==

  * enhanced primitive support 
  * better exception reporting
  * ancillary namespaces no longer auto-load on startup:
    clojure.set, clojure.xml, clojure.zip

== Why Alpha Now? ==

1.3 is the first release of Clojure that will include a series of
alpha builds. We are adding these builds to support maven and
leiningen users, who want a specific artifact that they can target (as
opposed to building from master or "moving-target" snapshots).

If you are the kind of person who used to track master by building
from source, but no longer do so because you are using maven or
leiningen, alpha releases are for you.

For maven/leiningen users, your settings to get the beta from 

  :dependencies [[org.clojure/clojure "1.3.0-alpha1"]

Thanks!
Stu

Stuart Halloway
Clojure/core team at Relevance

Alex Miller

unread,
Sep 23, 2010, 4:07:43 PM9/23/10
to Clojure
Will alpha releases be once-a-month, once-a-quarter, or now-seems-
good?

Is there a theoretical schedule for 1.3? Are people thinking of it as
a year or something less than a year away?


On Sep 23, 12:23 pm, Stuart Halloway <stuart.hallo...@gmail.com>
wrote:

Jeff Palmucci

unread,
Sep 23, 2010, 4:25:44 PM9/23/10
to clo...@googlegroups.com
I have a very simple test case in clojure 1.2:

(def * 100000000* (count (range 0 100000000)))

I have a loop running in another thread that periodically causes a full gc and then prints the amount of used memory every 2 seconds. Evaluating the above form, I get:

Used memory: 0.079951296 G
Used memory: 0.32577516 G
Used memory: 0.847947752 G
Used memory: 1.377162736 G
Used memory: 1.878349032 G
Used memory: 2.202150656 G
Used memory: 2.686696656 G
Used memory: 3.14701836 G

...

Seems like something is holding onto the front of the sequence.

However, if I use the following instead:

(def *100000000* (#(count (range 0 100000000))))

The problem goes away:

Used memory: 0.07999508 G
Used memory: 0.0799572 G
Used memory: 0.07999796 G
Used memory: 0.079997392 G
Used memory: 0.111486904 G
Used memory: 0.079995512 G
Used memory: 0.11590836 G
Used memory: 0.080138968 G
Used memory: 0.080005136 G
Used memory: 0.079963912 G
Used memory: 0.07996396 G
Used memory: 0.079964008 G

Any ideas?

ataggart

unread,
Sep 23, 2010, 5:49:43 PM9/23/10
to Clojure
Fixing subject.

Sean Corfield

unread,
Sep 23, 2010, 7:06:37 PM9/23/10
to clo...@googlegroups.com
On Thu, Sep 23, 2010 at 10:23 AM, Stuart Halloway
<stuart....@gmail.com> wrote:
> Clojure 1.3 Alpha 1 is now available at

Thank you!

> For maven/leiningen users, your settings to get the beta from
> build.clojure.org/releases are:
>   :dependencies [[org.clojure/clojure "1.3.0-alpha1"]

Are there plans to also make alpha builds of Clojure Contrib available
that are built against the equivalent Clojure Alpha?
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Stuart Halloway

unread,
Sep 24, 2010, 9:33:17 AM9/24/10
to clo...@googlegroups.com
Regular, and looking for feedback on what that means to you. Definitely if there is something big enough in master that you want to target it, and we haven't built it yet, ask.

> Will alpha releases be once-a-month, once-a-quarter, or now-seems-
> good?
>
> Is there a theoretical schedule for 1.3? Are people thinking of it as
> a year or something less than a year away?

The schedule is, as always, when it is ready. That said a year seems like a *very* long time.

Stu

Stuart Halloway

Stuart Halloway

unread,
Sep 24, 2010, 9:34:20 AM9/24/10
to clo...@googlegroups.com
Other Stuart is working on this today. Contributions / suggestions / reactions to the new modular build in contrib are most welcome.

Stu

> Are there plans to also make alpha builds of Clojure Contrib available
> that are built against the equivalent Clojure Alpha?
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

Jeff Palmucci

unread,
Sep 24, 2010, 10:58:35 AM9/24/10
to Clojure
Sorry, I posted this question and it turned up under the 1.3 Alpha 1
thread. Apparently you cannot reply to an email from the group, edit
the header, and start a new discussion. Here it is again:

I have a very simple test case in clojure 1.2:
(def *100000000* (count (range 0 100000000)))

Per Vognsen

unread,
Sep 24, 2010, 11:05:58 AM9/24/10
to clo...@googlegroups.com
The namespace binding is what's holding onto the head. This is a
common enough question (which tends to occur more in toy programs than
real ones) that it probably belongs in a FAQ.

-Per

Laurent PETIT

unread,
Sep 24, 2010, 11:14:37 AM9/24/10
to clo...@googlegroups.com
Which namespace binding ? 

Isn't 'count eager ? 

2010/9/24 Per Vognsen <per.v...@gmail.com>
Reply all
Reply to author
Forward
0 new messages