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: 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…


The Concurrency Runtime and Visual C++ 2010: Automatic Type Deduction

Last time, we looked at how to use lambda expressions in Visual C++ 2010 to make the Concurrency Runtime even easier to use (see The Concurrency Runtime and Visual C++ 2010: Lambda Expressions). This week we’ll take a quick look at the auto keyword, which is another language feature that can enhance your productivity. We’ll…

3

The Concurrency Runtime and Visual C++ 2010: Lambda Expressions

As a C++ programmer, you might have already started working with the Concurrency Runtime components in Visual Studio 2010 such as the Parallel Patterns Library (PPL) and the Asynchronous Agents Library. These libraries make it much easier to write parallel code that takes advantage of multi-core. I wanted to talk a bit about a few…

2

Walkthrough: Cartoon Effect filter using data-flow network

This topic shows how to implement a cartoon-like filter that can be applied to video frames by using a data-flow network. The filter consists of two stages: 1. Color simplification: where a Gaussian average of the neighbor area of a pixel is calculated and assigned to that pixel. This is an iterative filter that is…

0

Writing a Custom Message Block – Part 2: Reserving and Consuming

In my last blog post, I covered an introduction to writing a custom message block. This covered the basic functions required to work with other message blocks in a message-passing network. To be fully compliant with all message blocks, there are four more functions that must be defined to support reserving, consuming and releasing. Depending…

0

Writing a Custom Message Block – Part 1: Introduction

The Asynchronous Agents Library within the Concurrency Runtime provides a set of basic message blocks which can be used to create a message passing network. In most cases, these blocks have sufficient enough flexibility and can be composed together to provide all the necessary functionality for your message-passing network. However, there are cases in which…

0

Code Samples for the Concurrency Runtime, Agents Library and Parallel Pattern Library updated for Beta2

We’ve posted an update to our sample pack at http://code.msdn.com/concrtextras for Visual Studio 2010 Beta2 . The newest thing is this drop of the sample pack are the three new header files in the ConcRTExtras folder.  Here’s what these files contain: ppl_extras.h contains additional stl style parallel algorithms like parallel_accumulate, parallel_partial_sum, parallel_transform, parallel_all_of, parallel_any_of, parallel_none_of…

1