Concurrency with Modern C++: What every professional C++ programmer should know about concurrency.
Author: Rainer Grimm (Author), Beatrix Jaud-Grimm (Illustrator)
ASIN: B0CT41Q1FF
Publisher finelybook 出版社: Independently published
Publication Date 出版日期: 2024-01-20.
Language 语言: English
Print Length 页数: 748 pages
ISBN-13: 9798873420933
Book Description
C++11 is the first C++ standard that deals with concurrency. The story goes on with C++17, C++20, and will continue with C++23. I’ll give you a detailed insight into the current and the upcoming concurrency in C++. This insight includes the theory and a lot of practice.
- 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 sequentially, in parallel, or vectorized.
- The concurrency story in C++ goes on. With C++20, we got coroutines, atomic smart pointers, semaphores, latches, and barriers.
- C++23 supports the first concrete coroutine: std::generator.
- With future C++ standards, we can hope for executors, extended futures, transactional memory, and more.