|
|
|||
|
||||
OverviewAre you tired of applications that freeze while saving a file or fetching data from a network? Have you ever stared at a bug that only appears ""sometimes,"" a telltale sign of a race condition? The world of concurrent programming can feel like a minefield of deadlocks and data corruption, forcing many developers to stick with safe, but slow, single-threaded code. This book changes that. We start with a simple analogy-a coffee shop-and build from there, transforming abstract concepts into concrete skills. We will guide you step-by-step from the foundational ""why"" to the practical ""how."" You will face the ""dark side"" of concurrency, but we will give you the tools and patterns to overcome it. By the end of this journey, you will no longer be intimidated by threads; you will command them. You will see your multi-core CPU not as a complex liability, but as a powerful asset you can finally harness. What's insideThis is a strictly hands-on book. Inside, you will master: The Core Building Blocks: Go deep on std:: thread, std:: future, std:: promise, and std:: async to manage asynchronous tasks. Essential Synchronization: Learn to eliminate race conditions and deadlocks with std:: mutex, std:: lock_guard, and std:: scoped_lock. Advanced C++20 Primitives: Master modern coordination tools like std:: latch, std:: barrier, and std:: semaphore to solve complex synchronization problems with elegant code. Scalable Data Structures: Apply design principles to build high-performance, thread-safe data structures like a sharded hash map from scratch. The Future of C++ Concurrency: A complete guide to understanding and using C++20 Coroutines to write non-blocking asynchronous code with the simplicity of synchronous logic. Capstone Project: Use everything you've learned to build a complete, multi-client, asynchronous TCP echo server from the ground up. Who it's meant forThis book is for you if: You are a C++ developer who wants to write faster, more responsive, and more scalable applications. You understand C++ basics but find the topic of concurrency complex or intimidating. You want to modernize your C++ skills and learn the latest C++17 and C++20 concurrency features. You learn best by doing and want a practical, project-based guide, not just dry theory. Stop leaving performance on the table. Stop writing code that only uses one of your computer's brains. It's time to unlock the true potential of your hardware and write the kind of responsive, high-throughput applications that modern users demand. Take control of your threads and start building next-generation software today. Full Product DetailsAuthor: Martin C MoralesPublisher: Independently Published Imprint: Independently Published Dimensions: Width: 17.00cm , Height: 1.10cm , Length: 24.40cm Weight: 0.345kg ISBN: 9798262585199Pages: 212 Publication Date: 27 August 2025 Audience: General/trade , General Format: Paperback Publisher's Status: Active Availability: Available To Order ![]() We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately. Table of ContentsReviewsAuthor InformationTab Content 6Author Website:Countries AvailableAll regions |