4 ms·
You can write to a channel concurrently.
by rcme 3y ago
You can write to a channel concurrently.
- ackfoobar 3y agoAnd to make the concurrency safe you have to pay the price of synchronization. https://go.dev/tour/concurrency/8 https://go.dev/tour/concurrency/8 In A Tour of Go, concurrency section, "Equivalent Binary Trees" is an example of paying the price when you don't need it.
- ikiris 3y agoits not that you cant, it's that its very expensive.