Concurrency is not Parallelism by Rob Pike

gnbitcom · 190K views · 2015 · 31:23

Open on YouTube

C, C++, Rust, Go & systems languagesSoftware architecture & designtalk

Why Hacker News recommends it

The standard link for explaining the concurrency versus parallelism distinction and the motivations behind Go's concurrency model.

What it is

Rob Pike's Go talk distinguishing concurrency, the structuring of independent processes, from parallelism, their simultaneous execution. It uses Go channels and goroutines to illustrate.

Recommended by 4 HN commenters across 4 different months, 2021 to 2025.

What Hacker News said

Strong rec duped · 2024-09 · on “Understanding Concurrency, Parallelism and JavaScript”

If you prefer to learn by video, here's an excellent talk on the same subject by Rob Pike that I link all the time to people [this video]

Recommends merb · 2021-06 · on “Althttpd: Simple webserver in a single C file”

yeah, basically. a lot of people do not know, but async/await does have NOTHING do to with threads or processes. you can use threads with async/await, but you do not. async/await basically means you are running your "green threads"/tasks/promises on a event loop, the event loop can be either single threaded or it can run the stuff on multiple threads. a lot of people just did not get the difference between concurrency vs. parallelism. threads and processes are basically parallelism, while concurrency is async programming. good talk about that stuff from rob pike (go): [this video]

Recommends cratermoon · 2022-10 · on “Ask HN: Kubernetes Worth It?”

Anyone that can wrap their mind around the model of Communicating Sequential Processes[1] implemented using channels in Go will improve their programming. See also Concurrency is not Parallelism by Rob Pike: [this video] After I figured it out, I spent a good month writing personal projects to play with channels and concurrency and get the "these are cool I'm going to use them everywhere" urge out of my system. 1 [LINK]

Recommends auxiliarymoose · 2025-12 · on “Thoughts on Go vs. Rust vs. Zig”

Agreed. Rob Pike presented a good talk "Concurrency is not Parallelism" which explains the motivations behind Go's concurrency model: [this video] Between the lack of "colored functions" and the simplicity of communicating with channels, I keep surprising myself with how (relatively) quick and easy it is to develop concurrent systems with correct behavior in Go.

Cites duped · 2021-12 · on “Async I/O for Dummies (2018)”

As with all benchmarks, benchmark your workload. The tech empower stuff is gamed, like all rankings. But first and foremost, concurrency is not parallelism [1]. In my practical experience dealing with both, asycn is a language semantic for concurrency, threads are an OS feature for parallelism. It's a little nonsensical to ask the pros/cons since they are different entirely ; you can use both at the same time (and in practice most async implementations use threads) [1] [this video] "Concurrency is not Parallelism" talk by Rob Pike.

Cites ly3xqhl8g9 · 2023-03 · on “What Is Systems Programming, Really?”

Sure, but the context is very important: you can use Rust to control the DOM from WASM [1] and then you can use Haskell to write a load balancer [2]. [1] [LINK] [2] [LINK] (off-topic: Rob Pike's Concurrency is not Parallelism [this video] )