|
|
|
|
|
by throwaway894345
2245 days ago
|
|
I write Go daily, and I don't think CSP really panned out. For most applications, I find it's much easier to use a mutex and standard threading tooling than channels/CSP. That might be an artifact of how channels are implemented and their many hidden error cases--perhaps a better channel implementation could change the calculus. There are lots of reasons to prefer Go to Rust IMO, but I don't think CSP is among them. |
|
It's easier to write code with standard threading tooling but I think CSP is much, much easier to debug and avoid deadlocks.