
11 Jul
2018
11 Jul
'18
6 p.m.
"SM" == Stefan Monnier
writes:
SM> I don't much like the monad solution for side-effects, but if those guys SM> might have some knowledge of the horror of concurrent programming with SM> locks, the STM system would be a good candidate. I would vote for STM too, especially when using retry within a logical block to indicate "try again when things might make more sense". When dealing with multiple variables, and queues that you're popping values from, that is a truly hard thing to say with traditional concurrent programming. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2