Book review: Is parallel programming hard, and, if so, what can you do about it?
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Book review: Is parallel programming hard, and, if so, what can you do about it?
Unofficial Hacker News client; not affiliated with Y Combinator.
criddell · · focus · HN ↗
As I understand it, the parallelism is about task execution and concurrency is about task structure. Or, as Rob Pike said:
"Concurrency is about dealing with lots of things at once. Parallelism is about doing lots of things at once."
He said that in his Concurrency is not Parallelism talk.
afdbcreid · · focus · HN ↗
gpderetta · · focus · HN ↗
preemptive concurrency is almost as old as interactive computers. Until fairly recently, most computers were single core, but you wouldn't have wanted to use a cooperatively scheduled OS [1], especially on a multiuser machine.
[1] yes, in the '80s some popular microcomputer OSs were single threaded (DOS) or cooperatively scheduled (classic macos and 16bit windows), but even then preemptive OSs were available (amigados).
afdbcreid · · focus · HN ↗