C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Using Key Events with warning C26800
Here's how you can use Key Events to fix warning C26800
Build Insights Now Available in Visual Studio 2022
Introduction We're excited to announce that Build Insights is now integrated with Visual Studio 2022! Available in Visual Studio 2022 17.7 Preview 2, Build Insights provides critical information of your development environment. Using the analysis created by Build Insights, you will now have the power to effectively optimize your build times, especially large projects like AAA games. With Build Insights now integrated with Visual Studio, you will be able to capture your ETL trace and see your build analytics from within Visual Studio with only a few clicks. As a first step, you will be able to use the Include Fil...
Pure Virtual C++ Videos Available
All of the videos from our Pure Virtual C++ conference are now available! You can find them all on YouTube. Overall we had 18 videos on a wide variety of C++ topics, from Rust/C++ interoperability, to value semantics, to improving compiler errors. Here are the videos for our five live sessions which ran on the day of the conference:
Automatically Install Windows Subsystem for Linux from Visual Studio using New Seamless Integration
Have you ever wanted to try using Windows Subsystem for Linux (WSL) to target Linux from your C++ project, but haven’t gone through the documentation or CLI installation process? Now, from Visual Studio with the Linux and Embedded Workload, Visual Studio makes it easier than ever to get to that one-click install of WSL. Download the latest preview version of Visual Studio and select the Linux and Embedded workload to give it a try! How do I start? When you open a CMake project that can target Linux, an info bar will open for users to click and open a WSL installation process. By default, it will install a WSL2 ...
Improved Doxygen Overload Resolution
We are excited to announce an enhanced Doxygen Comment Support for C++ in Visual Studio 17.7 Preview 2. To start using this feature, ensure to update to the latest version of Visual Studio Preview. Improved Doxygen overload resolution Doxygen comment support has been enhanced to improve the visibility and consistency of shared Doxygen comments across all overloads of a function. Previously, these comments were only displayed in Quick Info for the first overload, as shown below. With this feature improvement, the shared Doxygen comment will now appear in Quick Info of all other overloads as well. This...
MSVC C++23 Update and Pure Virtual C++ Tomorrow!
In preparation for Pure Virtual C++ tomorrow Stephan T. Lavavej has made a video update of all we've been working on for conformance in MSVC for C++20 and C++23. You can sign up for Pure Virtual C++ for free here. Stephan's video is here:
Pure Virtual C++: CMake Debugger, Build Insights in Visual Studio, and more
Pure Virtual C++ is our free, annual, one-day virtual conference for the whole C++ community. This year it is running June 6th and you can find the session list and sign-up for free on the event page. In the run up to the conference we will be publishing new C++ videos every day. You can find the playlist on YouTube. We've published a bunch of new videos the past week:
MSVC ARM64 optimizations in Visual Studio 2022 17.6
In the last couple of months, the Microsoft C++ team has been working on improving MSVC ARM64 backend performance and we are excited to have a couple of optimizations available in the Visual Studio 2022 version 17.6. These optimizations improved code-generation for both scalar ISA and SIMD ISA (NEON). Let’s review some interesting optimizations in this blog. Before diving into technical details, we'd encourage you to create feedback here at Developer Community if you have found performance issues. The feedback helps us prioritize work items in our backlog. This, optimize neon right shift into cmp, is an examp...
Pure Virtual C++ 2023 Pre-Conference Videos
Pure Virtual C++ is our free, annual, one-day virtual conference for the whole C++ community. This year it is running June 6th and you can find the session list and sign-up for free on the event page. In the run up to the conference we will be publishing new C++ videos every day. You can find the playlist on YouTube. The first two videos on Breakpoint Groups and Improved Step Filtering in the Visual Studio Debugger are live now!