Lesson plan
Parallel Patterns Library
The Parallel Patterns Library is a Microsoft library designed for use by native C++ developers that provides features for multicore programming. It was first bundled with Visual Studio 2010. It resembles the C++ Standard Library in style and works well with the C++11 language feature, lambdas, also introduced with Visual Studio 2010. For example, this sequential loop: for (int x=0; x Can be made into a parallel loop by replacing the for with a parallel_for : #include // . . . Concurrency::parallel_for (0, width, [=](int x) { // Something parallelizable }); This still requires the developer to know that the loop is parallelizable, but all the other work is done by the library. MSDN describes the Parallel Patterns Library as an "imperative programming model that promotes scalability and ease-of-use for developing concurrent applications." It uses the Concurrency Runtime for scheduling and resource management and provides generic, type-safe algorithms and containers for use in parallel applications.
Article summary
The Parallel Patterns Library is a Microsoft library designed for use by native C++ developers that provides features for multicore programming. It was first bundled with Visual Studio 2010. It resembles the C++ Standard Library in style and works well with the C++11 language feature, lambdas, also introduced with Visual Studio 2010. For example, this sequential loop: for (int x=0; x Can be made into a parallel loop by replacing the for with a parallel_for : #include // . . . Concurrency::parallel_for (0, width, [=](int x) { // Something parallelizable }); This still requires the developer to know that the loop is parallelizable, but all the other work is done by the library. MSDN describes the Parallel Patterns Library as an "imperative programming model that promotes scalability and ease-of-use for developing concurrent applications." It uses the Concurrency Runtime for scheduling and resource management and provides generic, type-safe algorithms and containers for use in parallel applications.
Key claims
No claims recorded.
Discussion questions
- Summarise the article in your own words. Which single claim would you verify first, and why?
- Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
- If two sources disagreed about one of these facts, what would you need in order to trust one over the other?
Bibliography
No sources recorded.
Key claims and bibliography are generated from the same tracked claims and sources as the article page.