| Go Concurrency Distilled(antonz.org) | |
| 395 points by chmaynard 17 days ago | 183 comments | |
tl;dr: A concise reference covering Go's concurrency primitives: goroutines, channels, select, pipelines, context, wait groups, mutexes, semaphores, sync.Cond, sync.Once, sync.Pool, and atomics, with brief explanations and runnable code examples for each. Also touches on data races vs. race conditions, the race detector, the new synctest package for deterministic concurrency testing, goroutine scheduling internals, and production diagnostics via metrics, pprof profiling, and execution tracing. Positioned as a refresher rather than a beginner tutorial, and notably marketed as AI-free. | |
HN Discussion:
| |