4 ms·
> Is there anything special that other languages do to make race conditions less likely than they are in Go? Yes, other languages provide you with more tools t
by IshKebab 6y ago
> Is there anything special that other languages do to make race conditions less likely than they are in Go?
Yes, other languages provide you with more tools than the basic nuts and bolts. For example a language might provide you with a "parallel for" primitive that is well tested.
The issue is not exactly that Go's concurrency stuff is bad, it's just that it doesn't give you much help so you have to implement it all yourself. Also the lack of generics means it is difficult to write libraries for this stuff.
- ed25519FUUU 6y agoThe frustrating part is that the standard lib is just good enough that you also don’t tend to get good adoption for third party libraries, which could easily provide better abstractions.