Introduction
Explore practical techniques to implement and optimize parallel algorithms using C++17 execution policies. Understand how to adapt existing code to parallel execution while maintaining clarity and learn how to evaluate the performance benefits of parallel algorithms.
We'll cover the following...
We'll cover the following...
The previous chapters have focused on how to introduce concurrency and asynchrony in our programs by using threads and coroutines. This chapter focuses on parallel execution of independent tasks, which is related to but distinct from concurrency. In earlier chapters, we stressed that we prefer standard library ...