
27 Mar
2006
27 Mar
'06
8:37 p.m.
On 2006-03-28, Taral
On 3/27/06, Ross Paterson
wrote: How about STM (minus retry/orElse) and TVars as the portable interface? They're trivial for a single-threaded implementation, and provide a comfortable interface for everyone.
+1 on STM as the core interface. Why do you suggest omitting retry/orElse?
-1. STM is a cool little abstraction making it easy to write dead-lock free code. I haven't wrapped my head around writing _quick_ dead-lock free code, where as the MVar model has all sorts of abstractions built that make that, well, not _easy_, but the difficulties are understood. -- Aaron Denney -><-