Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency

$41.99

Add to wishlistAdded to wishlistRemoved from wishlist 0
Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency

Design and develop high-performance software solutions by using concurrent and asynchronous techniques provided by the most modern features in C++20 and C++23

Key FeaturesLearn how to use modern C++ features, including futures, promises, async, and coroutines to build asynchronous solutionsDevelop cross-platform network and low-level I/O projects with Boost.AsioMaster optimization techniques by understanding how software adapts to machine hardwarePurchase of the print or Kindle book includes a free PDF eBookBook Description

As hardware advancements continue to accelerate, bringing greater memory capacity and more CPU cores, software must evolve to adapt to efficiently use all available resources and reduce idle CPU cycles. In this book, two seasoned software engineers with about five decades of combined experience will teach you how to implement concurrent and asynchronous solutions in C++.

You’ll gain a comprehensive understanding of parallel programming paradigms—covering concurrent, asynchronous, parallel, multithreading, reactive, and event-driven programming, as well as dataflows—and see how threads, processes, and services are related. Moving into the heart of concurrency, the authors will guide you in creating and managing threads and exploring C++’s thread-safety mechanisms, including mutual exclusion, atomic operations, semaphores, condition variables, latches, and barriers. With this solid foundation, you’ll focus on pure asynchronous programming, discovering futures, promises, the async function, and coroutines. The book takes you step by step through using Boost.Asio and Boost.Cobalt to develop network and low-level I/O solutions, proven performance and optimization techniques, and testing and debugging asynchronous software.

By the end of this C++ book, you’ll be able to implement high-performance software using modern asynchronous C++ techniques.

What you will learnExplore the different parallel paradigms and know when to apply themAcquire deep knowledge of thread management and safety mechanismsUnderstand asynchronous programming in C++, including coroutinesLeverage network asynchronous programming by using Boost.Asio and Boost.CobaltAdd proven performance and optimization techniques to your toolboxFind out how to test and debug asynchronous softwareWho this book is for

This book is for developers who have some experience using C++, regardless of their professional field. If you want to improve your C++ skills and learn how to develop high-performance software using the latest modern C++ features, this book is for you.

Table of ContentsParallel Programming ParadigmsProcesses, Threads, and ServicesHow to Create and Manage Threads in C++Thread Synchronization with LocksAtomic OperationsPromises and FuturesThe Async FunctionAsynchronous Programming Using CoroutinesAsynchronous Programming Using Boost.AsioCoroutines with Boost.CobaltLogging and Debugging Asynchronous SoftwareSanitizing and Testing Asynchronous SoftwareImproving Asynchronous Software Performance

From the brand

Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiencyBrand story Packt books

See Our Full Range

Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency

Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.

Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.

We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.

ASIN ‏ : ‎ 1835884245
Publisher ‏ : ‎ Packt Publishing
Publication date ‏ : ‎ November 29, 2024
Language ‏ : ‎ English
Print length ‏ : ‎ 424 pages
ISBN-10 ‏ : ‎ 1835884253
ISBN-13 ‏ : ‎ 978-1835884249
Item Weight ‏ : ‎ 1.6 pounds
Dimensions ‏ : ‎ 7.5 x 0.96 x 9.25 inches
Best Sellers Rank: #76,507 in Books (See Top 100 in Books) #2 in Parallel Computer Programming #18 in C++ Programming Language #21 in Computer Programming Languages
Customer Reviews: 4.6 4.6 out of 5 stars 14 ratings var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency”

Your email address will not be published. Required fields are marked *

Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency
Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency

$41.99

Shop.survirtual
Logo
Shopping cart