Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrency
What it is
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 recommends it
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.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2020, last 2026
What HN commenters said
“This is a good watch”
Talk on Go scheduler and lightweight concurrency
RossBencina, 2020-02 · Recommendation · in “A Hitchhiker’s Guide to Asynchronous Programming”
“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
c0balt, 2026-03 · Recommendation · in “Understanding the Go Runtime: The Scheduler”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: golang, goroutines, concurrency, scheduling, preemption, runtime
Also recommended by the same people
lectureBrian Beckman: Don't fear the Monadjasonofthel33t · 9 HN recommenders · 2012–2024
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkCppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon · 9 HN recommenders · 2018–2026
talkRustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Programming Language · 9 HN recommenders · 2018–2023
talkCppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon · 13 HN recommenders · 2016–2024
talkIdeas about a new programming language for games.Jonathan Blow · 7 HN recommenders · 2014–2025
talkCppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon · 9 HN recommenders · 2015–2026