Hacker News new | ask | show | jobs
by rcme 1060 days ago
You can write to a channel concurrently.
2 comments

And to make the concurrency safe you have to pay the price of synchronization.

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.

its not that you cant, it's that its very expensive.