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/f65fa8c456e531940de88fe792f6534f7e0f24e4/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.