There’s No Simple Way to Do Parallelism and Concurrency in C++
Unless we rethink OOP and FP
To do parallelism and concurrency in C++, we used to require either separate libraries (for example, Boost) or OS primitives. With the introduction of functional programming constructs, parallelism and concurrency have become easier, within certain constraints.
In this chapter, we’re going to cover the following main topics:
- Defining parallelism and concurrency
- Common issues with parallelism and concurrency
- Functional programming to the rescue!
- The Actor Model
- What we can’t do yet