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…


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

Announcing the PPL, Agents and ConcRT efforts for V.next

  I am super-excited to have been part of multiple announcements that Microsoft made at the AMD Fusion 11 conference held in Bellevue WA this week.  First, Herb Sutter announced C++ AMP yesterday morning and AMD Fusion11,  which will be an extension of C++ that we are planning to include in our next VC++ compiler.  You can…

6

Bing Maps Trip Optimizer Now Available on MSDN Developer Samples!

I want to invite you to check out a developer sample that I wrote called Bing Maps Trip Optimizer. Bing Maps Trip Optimizer is a C++ ActiveX control that uses the ant colony optimization algorithm to solve the traveling salesman problem. It is driven by an HTML/JavaScript front-end that collects locations from the user and…


The Concurrency Runtime and Visual C++ 2010: Rvalue References

Last time, we looked at how to use the decltype keyword in Visual C++ 2010 to deduce the type of an expression (see The Concurrency Runtime and Visual C++ 2010: The decltype Type Specifier). This week we’ll look at rvalue references, a Visual C++ language feature that can help you to further improve the performance…


The Concurrency Runtime and Visual C++ 2010: The decltype Type Specifier

Welcome back! Last time, we looked at how to use the auto keyword in Visual C++ 2010 to implicitly declare local variables based on their initialization (see The Concurrency Runtime and Visual C++ 2010: Automatic Type Deduction). This week we’ll look at yet another great Visual C++ 2010 language feature that you can use when…