C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Visual Studio 2010 for C++ Development Survey Follow Up
Thanks to the over hundreds of developers who completed our upgrade survey and the select group that agreed to be contacted and spoke to us 1:1. As always, we appreciate the breadth of participants and helpfulness of responses.Three of the top upgrade blockers are cost, breaking changes and third-party library compatibility. One thing we learned when speaking with individual developers is that these categories were too broad. "Breaking changes" could encompass a number of things beyond "compiler breaking changes" up to and including project system differences and third-party library compatibility. We also found o...
C++ Debugging Improvements in Visual Studio “14”
In Visual Studio 2015 we’ve introduced two improvements to the C++ debugging experience to address pain points that we’ve heard from you. Improved startup performance when launching applications (F5), and reduced the chance functions called from the Watch or Immediate windows deadlocking. Improved startup performance on F5 When a process is launched by a native debugger, Windows allocates memory using the debug heap rather than the normal heap. The debug heap has diagnostic aids such as allocation/de-allocation sentinel values and other diagnostic features to help diagnose heap related bugs....
C++ Debugging Improvements in Visual Studio “14”
In Visual Studio 2015 we’ve introduced two improvements to the C++ debugging experience to address pain points that we’ve heard from you. Improved startup performance when launching applications (F5), and reduced the chance functions called from the Watch or Immediate windows deadlocking. Improved startup performance on F5 When a process is launched by a native debugger, Windows allocates memory using the debug heap rather than the normal heap. The debug heap has diagnostic aids such as allocation/de-allocation sentinel values and other diagnostic features to help diagnose heap related bug...
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 of Visual Studio 2013 Update 2 and provides a significant speed up (double digit (%) link throughput improvements for non-debug (/Od) builds) along with reducing size of static libraries compiled drastically. However with /Zc:inline specified, the compiler requires that tran...
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 of Visual Studio 2013 Update 2 and provides a significant speed up (double digit (%) link throughput improvements for non-debug (/Od) builds) along with reducing size of static libraries compiled drastically. However with /Zc:inline specified, the compiler requires that tran...
Visual Studio 2013 Update 4 CTP 2 Available
You can grab the download here.If you do not want to click through to the release notes, there are two technology improvements: And a handful of notable fixed issues: Visit the Visual Studio blog for other goodies in the CTP.As always, we look forward to your feedback. Share feature suggestions on UserVoice, log bugs you find on our Connect site and send us a smile or frown from inside the IDE. We review all of the feedback we receive!
On C++ AMP Remappable Shader
This blog post describes C++ AMP remappable shader feature and the changes that it brings to the compilation/execution model in Visual Studio 2014. This feature improves C++ AMP code compilation speed without affecting runtime performance. We will provide data to show the improvements and cover the steps to utilize this feature.To understand the advantage of remappable shader, I will start from the technology that it replaced. Previously, for a majority of parallel_for_each calls in C++ AMP programs, Visual C++ compiler generated two DirectX shaders (for each parallel_for_each call) which were eventually turned i...
GPU Usage tool in Visual Studio 2013 Update 4 CTP1
After shipping a number of improvements to Graphics Diagnostics in Visual Studio 2013 Update 3 RC, the team has been working to bring you more profiling tools for DirectX applications. In Visual Studio 2013 Update 4 CTP1 that released yesterday (Download here), you will find a brand new GPU Usage tool in the Performance and Diagnostics hub that you can use to collect and analyze GPU usage data for DirectX applications. CTP1 supports Windows Desktop and Windows Store apps running locally. Windows Phone app support and remote support will come in a later release. You can find document here, watch a live demo in thi...
VS 2013 Update 4 CTP 1 is Live!
Hello C++ World! My name is Gabriel Ha; I'm a program manager on the Visual C++ team, and from everyone who worked to bring the following improvements to you, we are super excited to share the good news and look forward to hearing back on your experience! Some of you out there, especially those of you who frequently work with large codebases, might have seen this prompt at times while performing a basic browsing operation like Go To Definition or Find All References: This prompt blocks you from performing those operations, sometimes for more than 5 minutes! The reason this comes up is because we ne...