Parallelism vs. Concurrency¶
Parallelism¶
- Parallel
adj. beside one another 2
In our case, parallel in time. Opposite of sequential or serial:
^ Task
|
1 + +---------------+
|
2 + +-----------------------+
|
+--------------------------------------->
Time
Concurrency¶
- Concurrent
adj. in competition
In our case, over resources:
^ Task
|
1 + +----* +----*
|
2 + +----* +----*
|
+--------------------------------------->
Time
The Trick¶
The trick in remembering which is which, is that parallelism has the usual english meaning 2. But semantics of concurrency in this context are of french origin 1.
Unfortunately, in english these words are synonyms. The french meaning seems absent from english language. Which makes things a bit confusing.
See Also¶
https://www.quora.com/What-is-the-difference-between-concurrency-and-parallelism
http://joearms.github.io/2013/04/05/concurrent-and-parallel-programming.html
References¶
- ctime
Mar 7, 2017
- mtime
Jan 31, 2018