C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Visual Studio 2010 Service Pack 1 General Availability

If you guys follow Jason Zander’s (Visual Studio corporate Vice President) blog, you learned two days ago that the Visual Studio 2010 Service Pack 1 whose Beta had been released last December achieved final release stage. Today is generally available (last Tuesday was only for MSDN subscribers). You can get it from here. Let’s ...

Concurrent Containers

A recurrent question (well, one of the many) is about STL containers and whether they are thread safe.Taking Stephan’s words here, the reality is that they aren’t, not as a bug but as a feature: having every member function of every STL container acquiring an internal lock would annihilate performance. As a general purpose, highly ...

PDC 2010: Lambdas, Lambdas Everywhere

(image) Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize. This talk from last PDC covers what lambda functions are and how to use them effectively, ...

The Visual C++ Weekly Vol. 1 Issue 5 (Jan 29, 2011)

This week comes with an article to help you set your application for parallelization; C++ MVP Dan Rollins researches on various ways to implement properties in C++; Issam Iqbal, C++ MVP, gives another twist to the TO CLI or NOT TO CLI debate when creating unit tests for our unmanaged code (voting for “NOT TO CLI”). There are also a...

Parallel Programming with Microsoft Visual C++ (Book in Progress)

(image) The patterns & practices group is writing a new guide that will introduce Visual C++ programmers to patterns for including parallelism in their applications. Examples of these patterns are parallel loops, parallel tasks and data aggregation with map-reduce. Each pattern has its own chapter. Each chapter includes a description of ...

The Visual C++ Weekly Vol. 1 Issue 3 (Jan 15, 2011) Is Out

 We just released the third issue of The Visual C++ Weekly. For technical reasons, from the original list of articles, there are two that weren’t caught and got lost but we’ll make sure to include them in the fourth issue (to appear next Saturday, January 22). This issue contains an Intel concurrency demo based on the ...