3 ms·
This exact same problem is also present in the concurrency model provided by Go. To read from the network you need to provide a buffer to read into, which means
by eklitzke 10y ago
This exact same problem is also present in the concurrency model provided by Go. To read from the network you need to provide a buffer to read into, which means that a buffer has to be allocated for every goroutine (instead of just the goroutines that actually have data to read).