Concurrency with Modern C++: What every professional C++ programmer should know about concurrency, Updated 2024КНИГИ » ПРОГРАММИНГ
Название: Concurrency with Modern C++: What every professional C++ programmer should know about concurrency, Updated 2024 Автор: Rainer Grimm Издательство: Leanpub Год: 2024-01-20 Страниц: 737 Язык: английский Формат: pdf (true), epub Размер: 23.0 MB
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.
If you are not very familiar with concurrency in C++, start at the very beginning with A Quick Overview to get the big picture. Once you get the big picture, you can proceed with the chapter The Details. Skip the memory model in your first iteration of the book unless you are entirely sure that is what you are looking for. The chapter Case Studies should help you apply the theory. This is quite challenging as it requires a basic understanding of the memory model. The chapter about The Future of C++ is optional. I am very curious about the future. I hope you are too! The final part, Further Information provides you with additional guidance towards a better understanding of my book and, finally, getting the most out of it.
This book explains the details of concurrency in modern C++ and gives you nearly 200 running code examples. Therefore, you can combine theory with practice and get the most out of it.
Because this book is about concurrency, I present many pitfalls and show you how to overcome them.
The book is 100 % finished, but I will update it regularly. The next update is probably about C++26. Furthermore, I will write about lock-free concurrent data structure and patterns for parallelization.
Скачать Concurrency with Modern C++: What every professional C++ programmer should know about concurrency, Updated 2024
Modern Concurrency in Swift (2nd Edition) Название: Modern Concurrency in Swift (2nd Edition) Автор: Marin Todorov Издательство: Razeware LLC/Kodeco Inc. Год: 2023 Страниц: 257 Язык:...
Algebraic Theory for True Concurrency Название: Algebraic Theory for True Concurrency Автор: Yong Wang Издательство: Academic Press/Elsevier Год: 2023 Страниц: 230 Язык: английский...
Concurrency with Modern C++ Название: Concurrency with Modern C++: What every professional C++ programmer should know about concurrency Автор: Rainer Grimm Издательство: Leanpub...
Concurrency with Modern C++ Название: Concurrency with Modern C++ Автор: Rainer Grimm Издательство: Ruboss Technology Corp. Год: 2019 Формат: True PDF Страниц: 475 Размер: 10.9...