~/talk

Deep dive into the select statement

Talkat GoLab 2025 · 2025-10-05..10-07· [go, concurrency]
slides:none on file

Covers the Go 1.25.1 implementation: the compiler lowers select into IR/SSA and special‑cases zero, one, and one+default selects so zero‑case becomes a block and one‑case compiles to a direct send/recv; runtime exposes selectgo randomized shuffle plus nonblocking helpers, locks channels in a stable sort order to avoid deadlocks, subscribes the goroutine to each channel waitlist, and wakes and desubscribes the goroutine when a case fires; source inspection focuses on runtime/select.go, runtime/chan.go, and the compiler select file.

AI-written summary · about

  1. 0:00Introduction to select
  2. 1:31Why select is interesting
  3. 4:01Compiler checks for select
  4. 8:19Compiler optimizations
  5. 14:24Runtime execution of select
  6. 25:24Summary of select flow
  7. 26:48References and resources
  8. 28:41Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.