Talks to Watch

Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrency

47K views · Oct 14, 2019 · 1:00:40 · 2 HN recommenders · 3 mentions · discussed 2020–2026

Go runtime contributor Dmitry Vyukov looks inside the Go scheduler, explaining how goroutines and channels are implemented. He covers the main scheduler components and overall operation, then goes into details such as preemption and stacks.

Why Hacker News points people here: Recommended as a good watch on how Go's M:N:P scheduler works and why it was designed that way compared with alternative schemes.

“This one notably also explains the design considerations for golangs M:N:P in comparison to other schemes”HN comment, 2026

What Hacker News said 3

RecommendsRossBencinaFeb 2020

“This is a good watch”

Talk on Go scheduler and lightweight concurrency

Full comment

I guess that's because they are "intros," and often multi-core event loops are implemented by the language runtime or some threadpool library. This is a good watch: Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrency (Oct 14, 2019) this video

in “A Hitchhiker’s Guide to Asynchronous Programming” · view on HN
Recommendsc0baltMar 2026

“This one notably also explains the design considerations for golangs M:N:P in comparison to other schemes”

Explains design considerations behind Go's M:N:P scheduler versus other schemes

Full comment

this video - Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrency This one notably also explains the design considerations for golangs M:N:P in comparison to other schemes and which specific challenges it tries to address.

in “Understanding the Go Runtime: The Scheduler” · view on HN
Cites itlukaslalinskyOct 2025

“but they have nasty performance side-effects, see”

Explains performance problems of segmented stacks in Go

Full comment

Go depends on the fact that it can track all pointers, and when it needs to resize stacks, it can update them. Previous versions of Go used segmented stacks, which are theoretically possible, if Zig really wanted (would need compiler support), but they have nasty performance side-effects, see this video

in “How I turned Zig into my favorite language to write network programs in” · view on HN