
eBook - ePub
Asynchronous Programming with C++
Leveraging Modern C++ for Scalable and High-Performance Software Development
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Asynchronous Programming with C++
Leveraging Modern C++ for Scalable and High-Performance Software Development
About this book
Explore C++20 and C++23 features for efficient concurrent programming. Learn how to manage tasks, futures, and coroutines to write responsive and scalable C++ code. Enhance your applications with better control and execution
Key Features
- Learn how to use modern C++ features, including futures, promises, async, and coroutines to build asynchronous solutions
- Develop cross-platform network and low-level I/O projects with Boost.Asio
- Master optimization techniques by understanding how software adapts to machine hardware
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
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 techniquesWhat you will learn
- Explore the different parallel paradigms and know when to apply them
- Acquire deep knowledge of thread management and safety mechanisms
- Understand asynchronous programming in C++, including coroutines
- Leverage network asynchronous programming by using Boost.Asio and Boost.Cobalt
- Add proven performance and optimization techniques to your toolbox
- Find out how to test and debug asynchronous software
Who this book is for
This book is for software engineers, developers and system programmers with some prior experience of C++ coding principles and familiar with networking, hardware and Linux systems. If you want to improve your C++ skills and learn to develop high-performance software using the latest modern C++ features, this book is for you. It will teach you how and when to use the latest C++ features to develop asynchronous solutions, to test and debug multithreaded software. By the end of the book, you will be well-equipped to implement high-performance software by using the most modern C++ techniques.
]]>Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- Asynchronous Programming with C++
- Contributors
- About the reviewer
- Preface
- Part 1:Foundations of Parallel Programming and Process Management
- 1
- 2
- Part 2: Advanced Thread Management and Synchronization Techniques
- 3
- 4
- 5
- Part 3: Asynchronous Programming with Promises, Futures, and Coroutines
- 6
- 7
- 8
- Part 4: Advanced Asynchronous Programming with Boost Libraries
- 9
- 10
- Part 5: Debugging, Testing, and Performance Optimization in Asynchronous Programming
- 11
- 12
- 13
- Index
- Other Books You May Enjoy
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Asynchronous Programming with C++ by Javier Reguera-Salgado,Juan Antonio Rufes in PDF and/or ePUB format, as well as other popular books in Computer Science & Parallel Programming. We have over one million books available in our catalogue for you to explore.