Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency
Javier Reguera-Salgado; Juan Antonio Rufes
Language: English
Published by Packt Publishing, 2024
- Softcover
- New

Seller: Biblios, frankfurt am main, hessen, GermanyBiblios
AbeBooks seller since September 10, 2024
Condition: New
£ 65.45
Quantity: 4 available
Add to basketItem description from seller
PRINT ON DEMAND.
Seller Inventory # 18403557593
- Title
- Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency
- Author
- Javier Reguera-Salgado; Juan Antonio Rufes
- Publisher
- Packt Publishing
- Publication year
- 2024
- Condition
- New
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 1835884245
- ISBN 13
- 9781835884249
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 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 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 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 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 Contents
- Parallel Programming Paradigms
- Processes, Threads, and Services
- How to Create and Manage Threads in C++
- Thread Synchronization with Locks
- Atomic Operations
- Promises and Futures
- The Async Function
- Asynchronous Programming Using Coroutines
- Asynchronous Programming Using Boost.Asio
- Coroutines with Boost.Cobalt
- Logging and Debugging Asynchronous Software
- Sanitizing and Testing Asynchronous Software
- Improving Asynchronous Software Performance
"Synopsis" may belong to another edition of this title.
About the Author
Javier Reguera-Salgado is a seasoned software engineer with 19+ years of experience, specializing in high-performance computing, real-time data processing, and communication protocols. Skilled in C++, Python, and a variety of other programming languages and technologies, his work spans low-latency distributed systems, mobile apps, web solutions, and enterprise products. He has contributed to research centers, start-ups, blue-chip companies, and quantitative investment firms in Spain and the UK. Javier holds a PhD cum laude in high-performance computing from the University of Vigo, Spain.
Juan Antonio Rufes is a software engineer with 30 years of experience, specializing in low-level and systems programming, primarily in C, C++, 0x86 assembly, and Python. His expertise includes Windows and Linux optimization, Windows kernel drivers for antivirus and encryption, TCP/IP protocol analysis, and low-latency financial systems such as smart order routing and FPGA-based trading systems. He has worked with software companies, investment banks, and hedge funds. Juan holds an MSc in electrical engineering from the Polytechnic University of Valencia, Spain.
"About the title" may belong to another edition of this title.
Biblios
frankfurt am main, hessen, Germany
AbeBooks seller since September 10, 2024
Shipping rates from Germany to U.S.A.
| Item | 25 to 45 business days | 8 to 14 business days |
|---|---|---|
| First item | £ 8.43 | £ 15.85 |
Payment methods
Store description
We carry a wide selection of books from South Asia, United States, UK.
Specialty
new books imported from india, uk, usaSeller's business information
Readingos GmbH
Kaiserstraße 47
Frankfurt am Main, Germany 60329
Terms of sale
We ship from Frankfurt
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Biblios, frankfurt am main, Germany, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.