© Giuliana Carullo 2020
G. CarulloImplementing Effective Code Reviewshttps://doi.org/10.1007/978-1-4842-6162-0_9

9. Concurrency, Parallelism, and Performances

Giuliana Carullo1 
(1)
Dublin, Ireland
 

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

Get Implementing Effective Code Reviews: How to Build and Maintain Clean Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.