C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

Microsoft C++ Team at CppCon 2020
Microsoft C++ Team at CppCon 2020
The Microsoft C++ team has an exciting lineup of sessions at CppCon 2020. Many of us will also be present at our team’s booth in the virtual exhibition hall throughout the conference. Come say hi and let us know if you have any questions about our talks, products, or anything else! We’ll be making a few exciting announcements about ...
New safety rules in C++ Core Check
New safety rules in C++ Core Check
Rust and C++ are two popular systems programming languages. For years, the focus of C++ has been on performance. We are increasingly hearing calls from customers and security researchers that C++ should have stronger safety guarantees in the language. C++ often falls behind Rust when it comes to programming safety. Visual Studio 2019 ...
Introducing vcperf /timetrace for C++ build time analysis
Introducing vcperf /timetrace for C++ build time analysis
The following blog post was written by guest author Carlos Fraguas from Mercury Steam Entertainment. He describes how he used the C++ Build Insights SDK to add the new /timetrace option in vcperf, and how he also used it to build custom tools tailored to his team's needs. You can follow Carlos on Twitter using handle @MetanoKid. Hello! ...
AddressSanitizer for Windows: x64 and Debug Build Support
AddressSanitizer for Windows: x64 and Debug Build Support
⌚ This post was updated on August 12, 2020 with more information on known issues and how to successfully use the VS debugger with this experience.  Special thanks to Jim Radigan and Matthew McGovern for providing the content for this blog post. Last October, we announced AddressSanitizer support for Windows as part of the x86 retail ...
Sign Up for the Private Preview of Visual Studio support for Codespaces!
Sign Up for the Private Preview of Visual Studio support for Codespaces!
At the Microsoft Build conference, you may have seen our C++ Codespaces demo (at 26:00). We showed several ways Codespaces can improve your C++ development experience, including offloading your builds and other compute-heavy tasks to the cloud. We’ve already been chatting with many you, and now we are ready to allow more people into the ...
Improving code generation time with C++ Build Insights
Improving code generation time with C++ Build Insights
Code generation time is a significant contributor to total build time for optimized builds. During this step of the compilation process, source code is passed through several algorithms that transform your program into an optimized version that can be executed more efficiently. In general, the optimization of a C++ function happens quickly and...
Visual Studio Code C++ Extension July 2020 Update: Doxygen comments and Logpoints
Visual Studio Code C++ Extension July 2020 Update: Doxygen comments and Logpoints
The July 2020 update of the Visual Studio Code C++ extension is now available. This latest release offers brand new features, such as the visualization of Doxygen comments and support for Logpoints while debugging (GDB/LLDB), along with a bunch of enhancements and bug fixes. To find out more about all the changes, check out our release notes ...
Initial Support For C++20 Ranges 
Initial Support For C++20 Ranges 
We are happy to announce that Visual Studio 2019 version 16.6 contains the first user-visible pieces of C++20 Ranges support. We’ve been working on support machinery for a few releases now, but in this release the tip of the iceberg has finally broken the surface of the water and there are now some tools available for users. The ...