8 Channels Are Not Enough

gist.github.com posted by kenny 2593 days ago  

... or Why Pipelining Is Not That Easy Golang Concurrency Patterns for brave and smart by @kachayev

Go was designed for building concurrency applications easily so it has goroutines for running independent computations and channels to communicate with each other. We've all heard this story before. All examples and tutorials look just fine: we can create a new channel, we can send to a channel, we can read from a channel, we even have the nifty, elegant select statement (btw, why do we still have statements in 21th century?), blocking reads and buffers…

Register to comment or vote on this story