Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ANN: Durable Clojure - Functions and Closures
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alyssa Kwan  
View profile  
 More options Nov 24 2010, 4:37 pm
From: Alyssa Kwan <alyssa.c.k...@gmail.com>
Date: Wed, 24 Nov 2010 13:37:25 -0800 (PST)
Local: Wed, Nov 24 2010 4:37 pm
Subject: ANN: Durable Clojure - Functions and Closures
Extension of http://groups.google.com/group/clojure/browse_thread/thread/7c917e983...

Hi everyone!

I've extended the Clojure core to extend durability to functions and
closures.

1. Functions with lexical and dynamic bindings are now supported. This
includes functions that generate functions.
1.a. There is a slight overhead applied to all compiled functions; the
bytecode is inaccessible at runtime except through a cache which
maintains an entry for all classes regardless of whether they are
eventually persisted or not. This doubles memory required per class,
but should, in practice, be negligible.
2. Identities of identities are now supported. This means that
persistent data structures of identities can be saved, i.e. you can
have a ref of a hash-map of refs.
3. sorted-map and sorted-set are now supported.

Get it here:  git://github.com/kwanalyssa/clojure.git

More testing, especially performance testing, is very welcome.
However, at this point, I've satisfied my own requirements. I'd love
to get this in scope eventually for enhancing Clojure core, if pain-
free persistence is part of the grand vision. Discussion of API and
implementation is also welcome.

Thanks!
Alyssa Kwan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark  
View profile  
 More options Nov 27 2010, 1:10 pm
From: Mark <markaddle...@gmail.com>
Date: Sat, 27 Nov 2010 10:10:55 -0800 (PST)
Local: Sat, Nov 27 2010 1:10 pm
Subject: Re: ANN: Durable Clojure - Functions and Closures
Hi -

I'm surprised your work doesn't generate more interest from folks.  I
wish I had more time, I would definitely jump in and help.

On Nov 24, 3:37 pm, Alyssa Kwan <alyssa.c.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Wesson  
View profile  
 More options Nov 27 2010, 7:35 pm
From: Ken Wesson <kwess...@gmail.com>
Date: Sat, 27 Nov 2010 19:35:51 -0500
Local: Sat, Nov 27 2010 7:35 pm
Subject: Re: ANN: Durable Clojure - Functions and Closures

On Sat, Nov 27, 2010 at 1:10 PM, Mark <markaddle...@gmail.com> wrote:
> Hi -

> I'm surprised your work doesn't generate more interest from folks.  I
> wish I had more time, I would definitely jump in and help.

Persistence doesn't seem to generate much interest in general. I
posted my own stab at a way of persisting the ref world
near-transparently a few weeks ago and it sank without a ripple.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alyssa Kwan  
View profile  
 More options Dec 6 2010, 1:09 pm
From: Alyssa Kwan <alyssa.c.k...@gmail.com>
Date: Mon, 6 Dec 2010 10:09:46 -0800 (PST)
Local: Mon, Dec 6 2010 1:09 pm
Subject: Re: ANN: Durable Clojure - Functions and Closures
Yes, but why isn't persistence of <em>closures</em> generating more
interest.  ;)

Persistence is "solved", if you're OK with not being truly ACID...

Seriously though, everyone has their own backends.  I don't think
anyone wants to be tied to BDB JE.

Would there be interest in lazy-loading and -unloading data
structures?

On Nov 27, 7:35 pm, Ken Wesson <kwess...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Wesson  
View profile  
 More options Dec 6 2010, 4:28 pm
From: Ken Wesson <kwess...@gmail.com>
Date: Mon, 6 Dec 2010 16:28:24 -0500
Local: Mon, Dec 6 2010 4:28 pm
Subject: Re: ANN: Durable Clojure - Functions and Closures

On Mon, Dec 6, 2010 at 1:09 PM, Alyssa Kwan <alyssa.c.k...@gmail.com> wrote:
> Yes, but why isn't persistence of <em>closures</em> generating more
> interest.  ;)

> Persistence is "solved", if you're OK with not being truly ACID...

> Seriously though, everyone has their own backends.  I don't think
> anyone wants to be tied to BDB JE.

> Would there be interest in lazy-loading and -unloading data
> structures?

That code I wrote does sort of do lazy loading and unloading data
structures. That is, it can be used to make structures that are loaded
in pieces, on demand, as an algorithm reaches a particular piece, and
that can be referenced without loading them just from hanging onto the
thing's address somewhere.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »