Concurrency with Modern C++: What every professional C++ programmer should know about concurrency by Rainer Grimm
English | January 21, 2022 | ISBN: n/a | True EPUB/PDF/MOBI | 691 pages | 9.7/11.2/28.4 MB
English | January 21, 2022 | ISBN: n/a | True EPUB/PDF/MOBI | 691 pages | 9.7/11.2/28.4 MB
- C++11 and C++14 have the basic building blocks for creating concurrent or parallel programs.
- With C++17, we got the parallel algorithms of the Standard Template Library (STL). That means, most of the algorithms of the STL can be executed sequential, parallel, or vectorized.
- The concurrency story in C++ goes on. With C++20, we got coroutines, atomic smart pointers, semaphores, and latches and barriers.
- With C++23, we can hope for executors, extended futures, transactional memory, and more.
This book explains the details of concurrency in modern C++ and gives you, also, nearly 200 running code examples. Therefore, you can combine the theory with the practices and get the most of it.
Because this book is about concurrency, I present many pitfalls and show you how to overcome them.