Re: Persistent storage

2008-12-20 Thread chris
Couldn't you look at slime/swank as a sort of object protocol? They already communicate through a sexy protocol of some sort (or maybe it was sex-p, I dunno). Could we perhaps get different swank backends to talk to each other and get clojure/CL interop that way? That was off-topic, I know. Ch

Re: Persistent storage

2008-12-19 Thread Mon Key
Hans Hubner's BKNR framework for CL explores this in a very interesting way - while relying on CLOS meta-object protocol the ideas could prob. be extended to Clojure. With some ABCL interaction this would make CL -> Clojure || Clojure -> CL interop possible at the JVM level with persistence... So

Re: Persistent storage

2008-12-19 Thread evins.mi...@gmail.com
On Dec 18, 7:18 pm, "Mark McGranaghan" wrote: > I've likewise though a fair bit about this, but haven't been able to > come up with a particularly satisfying solution. > > One approach I've considered is a watcher-type system where > persistence is defined in terms of immutable snapshots and ap

Re: Persistent storage

2008-12-18 Thread Mark McGranaghan
I've likewise though a fair bit about this, but haven't been able to come up with a particularly satisfying solution. One approach I've considered is a watcher-type system where persistence is defined in terms of immutable snapshots and append-only journals: you snapshot the data to disk occasion

Re: Persistent storage

2008-12-18 Thread r
On Thu, Dec 18, 2008 at 11:06 PM, Chouser wrote: > > I've pondered a couple approaches, though only enough to find > problems. > > One approach would work act like a Clojure collection, with structural > sharing on-disk. This would be great because it would have > multi-versioning and transactio

Re: Persistent storage

2008-12-18 Thread Kyle Schaffrick
On Thu, 18 Dec 2008 18:06:40 -0500 Chouser wrote: > > On Thu, Dec 18, 2008 at 4:47 PM, r wrote: > > > > Is is possible to use some kind of backend storage for Clojure's > > data structures? I mean something like Perl's "tie" function that > > makes data structures persistent (in sense of stora

Re: Persistent storage

2008-12-18 Thread Chouser
On Thu, Dec 18, 2008 at 4:47 PM, r wrote: > > Is is possible to use some kind of backend storage for Clojure's data > structures? I mean something like Perl's "tie" function that makes > data structures persistent (in sense of storage, not immutability). > > Such storage should be inherently immu