Select is a cornerstone of how Go handles concurrency, but it can be tricky to get your head around, especially if you've come from a language where it looks just like a switch.
In this talk,
@jespinog takes a deep dive into how select really works, following it through the compiler, which quietly rewrites your code, and into the runtime, which picks between channels fairly and keeps your program from getting stuck. Understand it once, and you'll write better concurrent Go for good.
Watch the full talk here:
piped.video/fH5hoZJL_tQ