3 ms·
The way I like to put it is that using a decent concurrency mechanism like message passing or STM or even just what Go does (enforced by community standards rat
by jerf 12y ago
The way I like to put it is that using a decent concurrency mechanism like message passing or STM or even just what Go does (enforced by community standards rather than actual limitations) takes concurrent programming from an exponential-complexity problem to a polynomial-complexity problem. It's still hard, it'll never not be hard, but it doesn't have to be the insanely, mind-bendingly broken hard that it was in the 90s. The more you can avoid sharing and the more you can operate in your own little world that communicates with other worlds via immutable messages, the happier you will be, and if you occasionally have to dip a bit into true sharing, it's still easier to manage in a saner world than when you try to share everything, all the time.
There's nothing that "solves" the problem, but there are "things that will summon forth C'thulu" and "things that are merely difficult".