Hacker News new | ask | show | jobs
by eru 5829 days ago
You might want to have a look at Haskell's Software Transactional Memory (STM).

It solves all your concurrency problems in the same sense that garbage collection solves all your memory problems. I.e. you can still make a mess, but it's harder to do so, and it's less effort to build something that doesn't break.