How to put a PPLTasks continuation chain into a loop

Background The way to express sequential logic in asynchronous programming with PPLTasks is task continuation chain; however, there is no easy way to construct a loop of continuations with tasks.  In many scenarios, an asynchronous loop can be useful; for example, suppose you want to download a file from a website asynchronously. A typical strategy…

3

Check out Hilo for Windows 8!

I’m working with the patterns & practices team on a Metro style app with C++ and XAML called Hilo. Hilo is a basic photo viewing and tagging app that totally re-imagines Hilo for Windows 7 by embracing new form factors and experiences that Windows 8 enables. One of the more exciting aspects of Hilo is…


PPL Asynchronous Sample Pack Updated

Visual Studio 11 Beta has been a great source of customer feedback for us on the PPL team. If you’re a PPL user, thanks for staying in touch! We welcome all constructive feedback and your input helps us build a product that’s relevant to you. A lot has happened with PPL since the last release…

3

Documentation updates for the PPL (Visual Studio 11 Beta) and Welcome Back to C++

If you follow this blog, I don’t have to remind you that C++ is king when it comes to flexibility, scalability, and performance. If you also follow the evolution of C++, namely C++ 11, you’re also familiar with new language features such as lambda expressions, rvalue references, and auto initializers. But are you also using…


PPL and ConcRT: What’s new in Visual Studio 11 Beta

In this product cycle release, our goal was to focus on providing comprehensive expressions for parallel patterns in C++.   This Beta release allows you to start taking advantage of the libraries and go-live with your products using these features.   In Visual Studio 2010, we saw the introduction of C++ parallelization libraries. We also introduced…

0

Perils Of Lambda Capture

One issue that consistently trips people up when they start using lambdas in asynchronous programming (particularly, using PPL), is the lifetime of the variables captured in the lambda expressions. More than once, I’ve fallen into this trap myself, lamenting my carelessness and the lack of a helpful warning from the compiler. Here is the rule…

0

Try It Now: Use PPL to Produce Windows 8 Asynchronous Operations

If you’ve seen any of the Windows Runtime talks from //build/ (like this one), one of the things you’ll discover is that asynchronous APIs are pervasive throughout it. Operations which can potentially be long running – particularly things like I/O – are often exposed solely through an asynchronous pattern. Because of this, it is, in…

4

Case Study: Massachusetts General Hospital uses PPL for 3-d image-processing

We are excited to share a detailed case study involving the use of Parallel Patterns Library!   To make colon cancer screening more broadly accessible, Massachusetts General Hospital (MGH) sought to reduce the time required to electronically cleanse and view a three-dimensional (3-D) model of the colon from an hour to five minutes. MGH reduced…

0

Windows 8 Asynchrony with PPL

Living with Latency Our customers demand more speed and responsiveness from applications. At the same time, as the applications are becoming more and more connected, we are increasingly confronted with the latency inherent in I/O devices. A thread performing a blocking I/O operation effectively delegates control to the hardware device performing that operation. Depending on…

5