‹ BackHN Continuity

Thread

Book review: Is parallel programming hard, and, if so, what can you do about it?

149 points · 66 comments · ahelwer

  1. criddell · · focus · HN ↗
    This review seems to equate parallelism and concurrency as the same thing and they are not.

    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.

    1. afdbcreid · · focus · HN ↗
      Parallelism without concurrency is useless, and concurrency without parallelism is usually cooperative and does not have the same challenges. So in essence, the title is correct.
      1. MaxBarraclough · · focus · HN ↗
        > Parallelism without concurrency is useless

        SIMD is parallelism without concurrency.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.