[Haskell-cafe] Proof of a multi-threaded application

Ketil Malde ketil at malde.org
Tue Nov 18 01:35:43 EST 2008


"Tim Docker" <timd at macquarie.com.au> writes:

>> My apologies for side-tracking, but does anybody have performance
>> numbers for STM? I have an application waiting to be written using
>> STM, boldly parallelizing where no man has parallelized before, but
>> if it doesn't make it faster, 

> Faster than what?

Faster than an equivalent non-concurrent program.  It'd also be nice
if performance was comparable lock-based implementation.

> Are you considering using STM just to make otherwise pure code run in
> parallel on multiple cores?

No, I have a complex structure that must be updated in non-predictable
ways.  That's what STM is for, no? 

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list