The serial equivalence of a Cilk™ Plus parallel program
There is a trend in the C++ community to grow capabilities thru more libraries and as much as possible, avoid adding language keywords.
Consistent with these trends are Intel’s Threading Building Blocks and Microsoft’s Parallel Patterns Library.
The question arises, then, why implement Intel’s Cilk™ Plus as language extensions rather than a library?
This will be the final post in my planned short vectorization series. Although I reserve the right to post more on vectorization in the future! In the first post on this topic, I explained that vectorization was parallelism inside a single CPU core, achieved by applying a CPU instruction to multiple data elements at once.