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.
mkehrt · · focus · HN ↗
When I was a grad student studying this stuff (~20 years ago), we used "parallelism" to mean running on different cores at the same time and "concurrency" to mean preemptive multithreading on a single processor.
wiml · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]