Re: ACID transactions for in-memory data structures

2006-05-17 Thread Sam Vilain
Rob Kinyon wrote:

On 5/15/06, Audrey Tang [EMAIL PROTECTED] wrote:
  

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?



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?
  


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.


Re: ACID transactions for in-memory data structures

2006-05-16 Thread Rob Kinyon

On 5/15/06, Audrey Tang [EMAIL PROTECTED] wrote:

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?


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


Re: ACID transactions for in-memory data structures

2006-05-15 Thread Audrey Tang
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
Description: OpenPGP digital signature