Skip to content

Concurrency: A Primer

sookocheff.com
42 pointssoofaloofa5 comments
On HN

Comments

The author states:

"Concurrency: Concurrency is the scheduling of work to happen over multiple processors (or multiple nodes in a system)"

This is not correct. You can have concurrency on a single CPU with multiple threads.

Perhaps that's why the next line reads:

Parallelism: Parallelism happens when at least two units of work are executing simultaneously. It’s notable that you can support concurrency on a single processor system using appropriate scheduling, while parallelism requires multiple processors or systems.

But this sentence does not change the incorrect definition of concurrency in the previous line.

I also take issue with the idea that concurrency implies that each unit of work is continuously making progress.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.