Asynchronous Programming in C++: Concurrency, Multithreading, and High-Performance Application Design

· neobooks
Ebook
84
Pages
Eligible

About this ebook

Every modern CPU has multiple cores. Using them safely is the hardest problem in C++ — and the one most developers learn last. This book teaches it from the memory model up. Start with happens-before, atomics, and the six memory orderings. Move through threads, jthreads, mutexes, condition variables, futures, and thread pools. Then dive into C++20 coroutines — the promise type, the awaiter, custom task types, and asynchronous I/O with io_uring and epoll. Finish with parallel algorithms, profiling tools, and the debugging discipline that surfaces races before production does. Working code throughout. Runs on any C++20 compiler.
Every modern CPU has multiple cores. Using them safely is the hardest problem in C++ — and the one most developers learn last. This book teaches it from the memory model up. Start with happens-before, atomics, and the six memory orderings. Move through threads, jthreads, mutexes, condition variab...

Discover more

About the author

Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.
Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.