Little things are infinitely the most important.
—Sherlock Holmes in Sir Arthur Conan Doyle’s “A Case of Identity” (1891)
Let’s be clear: concurrency and parallelism are not exactly the same thing.
Concurrency is the execution of multiple independent and interleaving pieces of computation. Concurrent programming ensures that their composition is correct, by means of handling the need for simultaneous access to shared resources.
Parallelism distinguishes itself by having these independent computations execute simultaneously.
Concurrency allows to structure ...