[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Concurrency, again

From: Stefan Monnier
Subject: Re: Concurrency, again
Date: Fri, 14 Oct 2016 17:48:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> I thought that "concurrency" and "parallelism" were the same.

They're related and they overlap.

If you use use a pseudo-parallel system (such as the `concurrency`
branch), then you have concurrency but not parallelism.
Vector processing (or GPUs nowadays) on the other hand, offers
parallelism but not concurrency.

To take another example, from the world of memory management:

- A concurrent GC is one where the mutator is not stopped while the
  collector does its job.
- A parallel GC is one where the collector divides its job into chunks
  that can be performed at the same time by different CPUs.  It may be
  concurrent or not.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]