Re:Updating the Go Memory Model
by catlifeonmars on Tuesday July 13, 2021 @10:38AM
(#27821505)
This is a shame, because if done correctly, “share memory by communicating” eliminates a whole class of bugs.
I agree that the ergonomics of Go channels leave a lot to be desired. Also, channels are still a primitive: you still need to build abstractions to do anything nontrivially useful with them. I think something like a good coroutine abstraction, or thread nursery abstraction would be ideal.
I agree that the ergonomics of Go channels leave a lot to be desired. Also, channels are still a primitive: you still need to build abstractions to do anything nontrivially useful with them. I think something like a good coroutine abstraction, or thread nursery abstraction would be ideal.