Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency
- Forfattere
- Forlag
- Sprog
- Engelsk
- Format
- Kategori
Fakta
As hardware continues to evolve with greater memory capacity and multi-core processors, software must keep pace to efficiently utilize available resources and minimize idle CPU cycles. In this book, you will explore a wide range of parallel programming paradigms, including concurrent, parallel, multithreading, reactive, and event-driven programming, as well as dataflows. It clarifies the relationships between threads, processes, and services while guiding you through thread creation and management. You'll gain hands-on experience with C++’s thread-safety mechanisms, such as mutual exclusion, atomic operations, semaphores, condition variables, latches, and barriers.
Unlike other books, it offers an in-depth approach to building and implementing asynchronous applications in C++. You'll master core concepts like futures, promises, async functions, and coroutines, alongside practical applications using third-party libraries. Step by step, you’ll leverage Boost.Asio and Boost.Cobalt to develop network and low-level I/O solutions while learning proven performance optimization techniques, testing strategies, and debugging methods.
By the end of this book, you'll be equipped to develop high-performance applications using C++20 and C++23's cutting-edge asynchronous programming techniques
© 2024 Packt Publishing (E-bog): 9781835884256
Udgivelsesdato
E-bog: 29. november 2024
Andre kan også lide...
Vælg dit abonnement
Over 1 million titler
Download og nyd titler offline
Eksklusive titler + Mofibo Originals
Børnevenligt miljø (Kids Mode)
Det er nemt at opsige når som helst
Premium
For dig som lytter og læser ofte.
129 kr. /måned
1 konto
100 timer/måned
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
Unlimited
For dig som lytter og læser ubegrænset.
159 kr. /måned
1 konto
Ubegrænset timer
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
Family
For dig som ønsker at dele historier med familien.
Fra 179 kr. /måned
2-6 konti
100 timer/måned pr. konto
Fri lytning til podcasts
Kun 39 kr. pr. ekstra konto
Ingen binding
Dig + 1 familiemedlem
2 konti179 kr. /måned
Flex
For dig som vil prøve Mofibo.
89 kr. /måned
1 konto
20 timer/måned
Gem op til 100 ubrugte timer
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
Har du en rabatkode?
Indtast koden her