Re:Go: What We Got Right, What We Got Wrong
by closeparen on Monday January 08, 2024 @12:01PM
(#38914884)
Goroutines are expected to communicate on channels. If one goroutine simply vanishes, then its counterparties on any channels will deadlock - either waiting for messages that never come, or trying to send messages to it after channel buffers fill up.
Crash is significantly easier to detect and understand than deadlock.
Crash is significantly easier to detect and understand than deadlock.