C++ Team Blog

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

Performance Tests

Hello everyone, I’m Asmaa Taha; I’m a test developer in the Visual C++ compiler optimization test team.Our Team has various testing systems that automate the testing and reporting processes to convey the state of the product to our feature teams. Some of them are useful in automating the feature testing we have for the compiler (...

Testing VC++ Compiler and Intellisense

Hello,My name is Rashid Sarwar and I am on Visual C++ Compiler Front End team. I have been on this team for several months and have learned many things on how to test a complier. In this post I will be sharing with you how we test our Visual C++ compiler and it’s Intellisense. Testing features in a compiler is not easy as each ...

Visual C++ Development Laboratory – May 4th through 8th, 2009

Hello,   As you know, we love to come and visit our customers every chance we get (PDC, TechEd and various country tours), but this time we thought we would do something at our place. We are running a Development Laboratory here in Redmond from May 4th through 8th (this definitely does not preclude people from outside Redmond ...

Quick Tips On Using Whole Program Optimization

Hi, I’m Jerry Goodwin from the Visual C++ code generation and optimization team, with a couple quick tips on using Whole Program Optimization, also referred to as Link Time Code Generation (LTCG).  If you’re writing native C++ code, you can typically speed up your optimized code by about another 3-4% by adding the /GL flag to ...

MFC Restart Manager Support in VS2010

Hi, I am Weidong Huang, a Software Design Engineer in Test in the Visual C++ group.  Today I am going to talk about MFC’s support of Restart Manager functionality -- a very amazing feature in VS2010.   What is Restart Manager? Restart Manager is a new feature introduced by Microsoft’s Windows Vista operating system.  It...

Rvalue References: C++0x Features in VC10, Part 2

Part 1 of this series covered lambdas, auto, and static_assert.   Today, I'm going to talk about rvalue references, which enable two different things: move semantics and perfect forwarding.  This post will be long, because I'm going to explain how rvalue references work in great detail.  They're initially very confusing because they ...

Dev10 Is Just The Beginning

Hello, I’m Mark Hall, an architect in the Visual C++ group.  I wanted to follow up on Jim Springfield’s previous blogs about the history of C++ intellisense, and some of the changes we’re making in upcoming Visual Studio 10 release.  It’s been almost a year since Jim’s posts, which can be found here: &...

Channel 9 Video: Parallel Computing in Native Code: New Trends and Old Friends – Damien Watkins and others

Recently our colleagues over at PCP (the Parallel Computing Platform team) have been doing a number of  Channel 9 videos - on their most recent taping they asked Damien Watkins from VC++ to join them. Why? Well the focus of the video was around the journey towards getting the PCP bits shaped and shipped in VS2010. Damien has been the VC...

Moving Test Hooks Outside Your Product’s Source Code

 Hello, my name is Raul Perez, I’m part of the Visual C++ IDE team and I’m going to talk about test hooks. When writing automated testing for specific features in your applications you usually have to figure out how you’ll actually get the information you need without going through all the steps you would usually ...

VC9 SP1 Hotfix For The vector<function<FT>> Crash

Back in August, I blogged about the TR1 fixes in VC9 SP1.  An observant reader, grokbrsm, commented that vector<function<FT>> was broken by VC9 SP1.  A hotfix for this bug is now available:  Here is the updated link to download the hotfix: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx...