3 ms·
> Channels are just queues and passing methods. My understanding is channels in `go` are 0 sized by default- and thus turn into "rendezvous channels" that can
by michael_j_ward 7y ago
> Channels are just queues and passing methods.
My understanding is channels in `go` are 0 sized by default- and thus turn into "rendezvous channels" that can be used to synchronize progress between threads.
This article compares Go and Rust threads and includes an example of how go uses channel's to synchronize. [0]
[0] - https://medium.com/@deckarep/paradigms-of-rust-for-the-go-developer-210f67cd6a29 https://medium.com/@deckarep/paradigms-of-rust-for-the-go-de...