C++ Team Blog

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

Do You Prefer Fast or Precise?

What is this Blog About? My name is Jim Hogg, a Program Manager in the Compilers team. We would like your feedback on a feature of the Visual C++ compiler that affects the code we generate for floating-point operations. Your answers will help determine what we do. You can vote via survey -- it should not take you more than a few minutes to ...

Feedback: Making /Zc:inline default for debug/release configs in “14”

Given our strong focus on improving build times of our toolset as a part of the Visual Studio 14 preview we will be changing a few defaults for Visual C++'s debug and release configuration. These changes include making /Zc:inline (remove unreferenced COMDAT) the default for debug and release configurations. /Zc:inline was introduced as a part ...

Feedback: Making /Zc:inline default for debug/release configs in “14”

Given our strong focus on improving build times of our toolset as a part of the Visual Studio 14 preview we will be changing a few defaults for Visual C++'s debug and release configuration. These changes include making /Zc:inline (remove unreferenced COMDAT) the default for debug and release configurations. /Zc:inline was introduced as a part ...

Compiler Switch Deprecation/Removal Changes in Visual Studio “14”

In the upcoming release of Visual Studio, we are making some changes to the Visual C++ compiler switches. Two areas are impacted by these changes, 1) projects built with certain variations of /clr and 2) projects using 32-bit compiler to detect 64 bit portability issues.These changes are the outcome of our investigation of the usage ...

Compiler Switch Deprecation/Removal Changes in Visual Studio “14”

In the upcoming release of Visual Studio, we are making some changes to the Visual C++ compiler switches. Two areas are impacted by these changes, 1) projects built with certain variations of /clr and 2) projects using 32-bit compiler to detect 64 bit portability issues.These changes are the outcome of our investigation of the usage ...

Linker Enhancements in Visual Studio 2013 Update 2 CTP2

For developer scenarios, linking takes the lion's share of the application's build time. From our investigation we know that the Visual C++ linker spends a large fraction of its time in preparing, merging and finally writing out debug information. This is especially true for non-Whole Program Optimization scenarios. In Visual Studio 2013 ...

AVX2 Support in Visual Studio C++ Compiler

AVX2 is yet another extension to the venerable x86 line of processors, doubling the width of its SIMD vector registers to 256 bits, and adding dozens of new instructions.  AVX2 shipped with Intel's latest processor micro-architecture, codenamed "Haswell".  (Its official name is "4th generation Intel® Core™ ...

C++ IDE Performance Improvement in Visual Studio 2013 Preview

My name is Li Shao. I am a Senior Software Design Engineer in Test on the VC++ team. In this blog, I would like to share the performance enhancements we've made in VS 2013 Preview to improve the C++ IDE and build system. Performance is a vital part of software quality. Over the last couple of releases we have made significant performance ...