News for hackers. Stuff that matters.
Re:Rob Pike interview by throwaway894345 on Thursday April 30, 2020 @12:16PM (#23032534)
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.
Re:Rob Pike interview by dnautics on Thursday April 30, 2020 @01:50PM (#23033749)
> For most applications, I find it's much easier to use a mutex and standard threading tooling than channels/CSP

It's easier to write code with standard threading tooling but I think CSP is much, much easier to debug and avoid deadlocks.

Re:Rob Pike interview by morelisp on Friday May 01, 2020 @03:43AM (#23039930)
> I think CSP is much, much easier to debug and avoid deadlocks.

This has (still to my surprise) not borne out in real-world cases, at least to the extent Go channels "do CSP".

https://blog.acolyer.org/2019/05/17/understanding-real-world...

Re:Rob Pike interview by throwaway894345 on Thursday April 30, 2020 @02:46PM (#23034541)
That has not been my experience with CSP via Go channels after 8 years of solid use (I still use channels here and there, but not in a CSP pattern). Different strokes, I suppose.