Parallel Programming: Tasks and Continuations
Hi, I’m Charles Torre, Sr. Technographer with Channel 9. One of my goals is to make sure C++ has first class status on Channel 9. Make no mistake, the C++ Renaissance will be televised. 🙂
I’ve recently been posting interviews on C9 with some of the VC++ team and a few of the VC++ MVPs like Kate Gregory. Today you’ll meet some fellow native developers who are working hard to provide powerful C++ libraries for concurrency and parallelism. They need your feedback, so please download the header files today and play with the code!
I recently visited the Parallel Computing Concurrency Runtime team, who write tools for the C++ community that make it easier to write reliable, performant and scalable concurrent and parallel code. In the first part of this interview (available here), Mike Chu , Dana Groff, Artur Laksberg and Vinod Koduvayoor Subramanian talk about their latest addition to the Parallel Patterns Library which provides wait-free concurrency programming by specifying tasks, the ability to schedule tasks on events and continuations that specify a task or tasks which are run after one or more tasks finish.
In the second part (available here), Vinod explains chaining tasks, continuations at the whiteboard. It’s fast-paced so pay attention!
What’s better is that much of this is available today through the ConcRT Extra’s “Sample Pack”. Please download it, play with the new library, push it and provide feedback to the team. They really want and need your input to insure they deliver the right things for real world usage by C++ developers.
Links of interest
- Tasks and Continuations, Part I
- Tasks and Continuations, Part II
- ConcRT Sample Pack
- Parallel Patterns Library
- Concurrency Runtime