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.
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. ==References==
References
- The Visual C++ Weekly · retrieved 2026-11-19 · rev 1242065373
Cite this reference
MLA "The Visual C++ Weekly." 2026-11-19. https://web.archive.org/web/20111008024206/http://paper.li/visualc/news/2011/03/12. Accessed 24 November 2026.
Chicago "The Visual C++ Weekly." 2026-11-19. https://web.archive.org/web/20111008024206/http://paper.li/visualc/news/2011/03/12.
APA encyclopegia.org. (2026). The Visual C++ Weekly. Retrieved November 24, 2026, from https://web.archive.org/web/20111008024206/http://paper.li/visualc/news/2011/03/12
- Parallel Patterns Library (PPL) on MSDN · retrieved 2026-11-19 · rev 1242065373
Cite this reference
MLA "Parallel Patterns Library (PPL) on MSDN." 2026-11-19. http://msdn.microsoft.com/en-us/library/dd492418.aspx. Accessed 24 November 2026.
Chicago "Parallel Patterns Library (PPL) on MSDN." 2026-11-19. http://msdn.microsoft.com/en-us/library/dd492418.aspx.
APA encyclopegia.org. (2026). Parallel Patterns Library (PPL) on MSDN. Retrieved November 24, 2026, from http://msdn.microsoft.com/en-us/library/dd492418.aspx
Cite this article
MLA
"Parallel Patterns Library." encyclopegia.org, 2024, https://encyclopegia.org/wiki/parallel-patterns-library. Accessed 24 November 2026.
Chicago
"Parallel Patterns Library." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/parallel-patterns-library.
APA
encyclopegia.org. (2024). Parallel Patterns Library. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/parallel-patterns-library
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON