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

High-confidence Lifetime Checks in Visual Studio version 17.5 Preview 2

New High-confidence Lifetimes Checks in Visual Studio 2022

C11 Atomics in Visual Studio 2022 version 17.5 Preview 2
C11 Atomics in Visual Studio 2022 version 17.5 Preview 2

Improving the State of Debug Performance in C++

In this blog we will explore one change the MSVC compiler has implemented in an effort to improve the codegen quality of applications in debug mode. We will highlight what the change does, and how it could be extended for the future. If debug performance is something you care about for your C++ projects, then Visual Studio 2022 version 17.5 is making that experience even better! Please note that this blog will contain some assembly but being an expert in assembly is not required. Overview Motivation You might notice that the title of this blog is a play on words based on a recent popular...

MSVC OpenMP Update

Summary of your post, shown on the home page next to the featured image

A Tour of 4 MSVC Backend Improvements

This blog post presents some of the optimizations the backend team has implemented for Visual Studio 2022.

vcpkg 2022.11.14 and 2022.10.19 Releases: Localization for 14 Languages, Overlay Ports/Triplets in Manifests, acquire-project Command, and More…

The 2022.11.14 release of the vcpkg package manager is available. This blog post summarizes changes from September 27th, 2022 to November 13th, 2022 for the Microsoft/vcpkg and Microsoft/vcpkg-tool GitHub repos. Some stats for this period: Notable Changes Notable changes for this release are summarized below: Localized vcpkg output is now available One of the steps required for us to ship vcpkg in Visual Studio was to localize its output to a variety of languages. This experience is now enabled in the tool for 14 languages – the same languages available for Vis...

Visual Studio 2022 Performance: Faster C++ Source Code Indexing
Building on top of performance wins in Visual Studio 2022 version 17.3, we are excited to announce additional improvements in version 17.4. Whether you are a game developer, work with large codebases, or have solutions with many C++ projects, your development experience in Visual Studio 2022 17.4 will feel even faster. In 17.4 we significantly reduced the time it takes to open a C++ project for the first time (cold load). While working on these improvements, we constantly check our performance against real-life large projects, including some of our own, as well as several C++ codebases for popular games ...

What’s New for C++ Developers in Visual Studio 2022 17.4

We are happy to announce that Visual Studio 2022 version 17.4 is now generally available! This post summarizes the new features you can find in this release for C++. You can download Visual Studio 2022 from the Visual Studio downloads page or upgrade your existing installation by following the Update Visual Studio Learn page. Arm64 In 17.3, Visual Studio became available as a native Arm64 application. We have continued work on supporting more development scenarios and are pleased to announce that the native Arm64 toolchain is now ready for production use! The “Desktop development with C++” and “Game developm...

Fix for High Risk OpenSSL Security Vulnerabilities Announced – Guidance for vcpkg Users

OpenSSL.org announced the release of OpenSSL 3.0.7 to address two security vulnerabilities rated as high risk. This patch is now available, including via vcpkg. The vulnerabilities impact users of OpenSSL 3.0.0 - 3.0.6. If you are relying on a version of OpenSSL in this range, it is strongly recommended to upgrade to 3.0.7 as soon as possible. We also recommend reviewing Microsoft Security Response Center's central blog post on awareness and guidance related to these two CVEs: Awareness and guidance related to OpenSSL 3.0 – 3.0.6 risk (CVE-2022-3786 and CVE-2202-3602) – Microsoft Security Response Center. If y...