New Release of the AMP Algorithms Library

If you are fond of high-performance algorithms, you will be pleased to find out that our friend Ade Miller has just issued a new iteration of the AMP Algorithms Library. As usual, Ade’s work is top notch, and it brings notable improvements across the board; in his own words: Finally, there is a new release…

9

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…


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…


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

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

Synchronization with the Concurrency Runtime - Part 3

In my previous posts, I addressed the motivation behind using concurrency runtime’s synchronization primitives and also introduced Critical Section and reader writer lock. In this blog, I will cover concurrency runtime’s event. Event This is a bi-state type class which, unlike Critical Section or Reader Writer Lock, does not protect access to shared data. Events…

0