2 ms·
> Buffered channels are able to express semantics impossible to express with unbuffered channels. You can build a buffered channel from a pair of unbuffered ch
by KMag 9y ago
> Buffered channels are able to express semantics impossible to express with unbuffered channels.
You can build a buffered channel from a pair of unbuffered channels with an actor/goroutine containing a buffer connected to the output of the one channel and the input of the other. Therefore, anything that can be expressed in terms of buffered channels and actors/goroutines can be expressed in terms of buffered channels and actors/goroutines.
I'll grant that somethings are very tedious to express, and it's a bit of o Turing tarpit argument.