3 ms·
> is the speed hit (factor 2-5) really that bad? do haskell programmers have experience that confirms that? The penalty was pretty bad in the earliest STMs, bu
by gwern 15y ago
> is the speed hit (factor 2-5) really that bad? do haskell programmers have experience that confirms that?
The penalty was pretty bad in the earliest STMs, but the Simons have done so much work on multi-core stuff and the STM libraries that it's hard to say.
(I will note that lack of purity might be, as the comments point out, a real problem. That was what sunk the .Net/C# folks trying to add STM.)