Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ACID transactions for in-memory data structures

8 views
Skip to first unread message

Rob Kinyon

unread,
May 15, 2006, 9:30:56 AM5/15/06
to perl6-language@perl.org List
I've been working on DBM::Deep, a way to have P5's data structures
stored on disk instead of RAM. One of the major features I've been
adding has been ACID transactions.

I'm pretty sure it wouldn't be very feasible to do this natively in
P5. But, would it be possible to do it natively in P6? As in,
supported within the interpreter vs. through some sort of overloading.

Rob

Audrey Tang

unread,
May 15, 2006, 10:23:38 PM5/15/06
to Rob Kinyon, perl6-language@perl.org List
Rob Kinyon wrote:
> I'm pretty sure it wouldn't be very feasible to do this natively in
> P5. But, would it be possible to do it natively in P6? As in,
> supported within the interpreter vs. through some sort of overloading.

Look at "is atomic" in S17draft, and Software Transaction Memory in general?

Audrey

signature.asc

Rob Kinyon

unread,
May 16, 2006, 3:17:25 PM5/16/06
to Audrey Tang, perl6-language@perl.org List

Would there be a way for me to say "Yes, I understand that Perl may
not generically understand how to revert this outside resource, such
as a database, but I do." and do a catch-type block for the revert?

Rob

Sam Vilain

unread,
May 17, 2006, 4:01:23 AM5/17/06
to Rob Kinyon, Audrey Tang, perl6-language@perl.org List
Rob Kinyon wrote:

There was discussion about this on one of the dbi2 lists at some point.
I think a minimal API was even fleshed out - but it probably died there
and would love someone to pick it up.

Sam.

0 new messages