Chapter 12: Multithreading and Asynchronous Programming

Since the very first personal computer, we have benefitted from the constant increase of CPU power—a phenomenon that heavily influenced developers' choices of tools, languages, and application design, while historically not putting much effort into programming to take advantage of multithreading.

On the hardware side, the prediction made by Moore's law that the density of the transistors in processors should double every 2 years, thus providing more computing power, worked for some decades, but we can already observe it slowing down. Even if the CPU manufacturers started producing multi-core CPUs roughly 20 years ago, the ability to execute code concurrently was primarily used by the

Get Learn C# Programming 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.