~/talk

Chan Chan Chan T: A Generic Tale

Talkat GopherCon 2024 · 2024-07-07..07-10· [concurrency, go]
slides:none on file

Five concurrent websocket connections (example uses five players) start as a fragile system held by a single mutex and leaking memory and cancellation races; replacing shared maps with channels of channels yields immediate pair notifications, concurrency and cancellation via contexts, and a single method to call for matching. Moving the match ID into parametric code avoids an import cycle; type parameters keep the API modular for tests and make the final random-matchmaking service simple, efficient and dependency-free.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.