News for hackers. Stuff that matters.
Re:My experience rewriting Enjarify in Rust by dbaupp on Monday September 19, 2016 @02:02PM (#12533337)
STM is useless with full immutability: it is safe in Haskell because effects (including mutation) can be controlled/packaged into contained areas, via abstractions like monads.

That said, one downside of STM is that it isn't as efficient as some other schemes especially with high contention, as everything gets serialized through the metadata for tracking transactions. It's an awesome tool, but not a panacea (like with any other technology).

(I'm sure you know this, but others reading the thread may not.)

There are no comments on this comment yet.