aykeon Stack Overflow • Recommends
On “How are Go channels implemented?”
Here is a good talk that describes roughly how channels are implemented:
link to this video
Talk description:
GopherCon 2017: Kavya Joshi - Understanding Channels
Channels provide a simple mechanism for goroutines to communicate, and a powerful construct to build sophisticated concurrency patterns. We will delve into the inner workings of channels and channel operations, including how they're supported by the runtime scheduler and memory management systems.