roam/20210323012431-concurrent_and_parallel_programming.org
2021-07-29 18:51:25 -04:00

664 B

Concurrent and Parallel Programming

From Joe Armstrong's blog:

What's the difference between concurrency and parallelism?

Explain it to a five year old.

/correlr/roam/media/commit/9feb79a9540a97b8ae3316857481190b2a47994a/data/fb/2246e7-e0a7-455b-a030-1bd4dfda4ce3/con_and_par.jpeg

Concurrent
Two queues and one coffee machine.
Parallel
Two queues and two coffee machines.