Why is concurrent programming so hard ?
makmanalp: I think it's rather not that our brains are inherently that way, it's just that we've (stereotypically) thought that way all our lives.It's like learning formulas for 2D geometry and then trying to extrapolate to 3D formulas, such as the sum of all the sides of a square vs a cube. If we learned about generalized formulas in n-D, we could easily apply to any dimension at all. But it's harder to think so abstractly in the beginning.Same thing here, now you're trying to think of algorithms that work with n threads instead of just one.