C++ Team Blog

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

Latest posts

C++ Dynamic Debugging: Full Debuggability for Optimized Builds
Mar 19, 2025
5
5

C++ Dynamic Debugging: Full Debuggability for Optimized Builds

David Li
David Li

Over the past 5 years, we’ve had many incredible opportunities to engage with game developers. From AAA studios to indie developers, the passion for slashing iteration times is significant. Amidst all the fantastic feedback we've received for Visual Studio, one sentiment has rung loud and clear: a desire to debug optimized C++ code without sacrificing performance. Although game developers have voiced this need the loudest, we know that solving this issue will benefit many other C++ workflows. While we've consistently rolled out many productivity and performance enhancements over the years, debugging optimized cod...

Optimizing Build Times with Build Insights: How Activision Cut Call of Duty’s Build Time by 50%
Mar 18, 2025
0
2

Optimizing Build Times with Build Insights: How Activision Cut Call of Duty’s Build Time by 50%

Moyo Okeremi
Moyo Okeremi

Slow build times are a major headache for developers, especially in large, complex C++ codebases like game engines. Every minute spent waiting on a build is time that could be used to refine features, resolve issues, or push development forward. Activision faced this challenge with Call of Duty: Modern Warfare II, where prolonged build times were slowing down iteration and impeding workflows. By leveraging Build Insights, they identified key inefficiencies, optimized bottlenecks, and successfully reduced build times from 27:49 minutes to just 14:25 minutes—cutting them in half. Read more about their journey in ou...

Visual Studio at GDC 2025
Mar 14, 2025
0
1

Visual Studio at GDC 2025

David Li
David Li

Join us in-person at Game Developers Conference 2025 with an in-depth look at how Visual Studio and GitHub Copilot can streamline your iteration workflow. Don’t miss the unveiling of our biggest C++ debugger update yet. Session Title: Accelerating Your Inner Loop with Visual Studio and GitHub Copilot Session Info: March 19th, 2025, 12:30 PM-1:30 PM Pacific Time | GDC Industry Stage, Expo Floor, South Hall Abstract: Get ready to supercharge your development process with the newest features in Visual Studio! This year, we're thrilled to unveil our most powerful C++ debugger upgrade yet, designed to sla...

Announcing Guidelines Support Library v4.2.0
Mar 6, 2025
0
3

Announcing Guidelines Support Library v4.2.0

Carson Radtke
Carson Radtke

Version 4.2.0 of Microsoft's Guidelines Support Library brings performance improvements, safety features, modern compiler support.

What’s New in vcpkg (February 2025): Package installation performance, new tested triplet, and more
Feb 27, 2025
0
1

What’s New in vcpkg (February 2025): Package installation performance, new tested triplet, and more

Augustin Popa
Augustin Popa

This blog post summarizes changes to the vcpkg package manager as part of the 2025.02.14 registry release, 2025-02-11, 2025-01-29, 2025-01-24, and 2025-01-20 tool releases, as well as changes to vcpkg documentation throughout February. This release includes significant performance improvements when installing packages, a new tested triplet (x64-windows-release), an overhaul of how vcpkg handles some downloads and console output, and bug fixes. In terms of documentation, there are improvements to our maintainer guide, registries articles, and versioning articles, among others. Some stats for this period: ...

std::generator: Standard Library Coroutine Support
Feb 24, 2025
0
5

std::generator: Standard Library Coroutine Support

Sy Brand
Sy Brand

is a C++23 feature that enables you to write concise, straightforward functions that generate sequences of values on-demand without manually managing state. It builds upon C++20’s coroutines, providing some standard library support for this powerful, but complex, language feature. As of Visual Studio 2022 version 17.13, we ship an implementation of in our standard library. This blog post will walk through an example of how to use the feature, compare it to implementing custom ranges, consider some of the design decisions made, and briefly look at the performance implications. Motivating Example Here’s a sh...

MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13
Feb 21, 2025
0
4

MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13

Zachary Johnson
Zachary Johnson

We have been investing in the quality of MSVC Address Sanitizer (ASan) in several key areas over the past year, including working with LLVM upstream to stay coordinated with their changes, adding coverage for internal tools and libraries, and hardening APIs and runtime modes.  Upstreaming to LLVM  MSVC ASan is derived from a fork of the LLVM repository. Prior to Visual Studio 2022 version 17.12, MSVC ASan was based on outdated versions of LLVM’s compiler-rt (where the ASan source code lives), and we could not incorporate changes from newer versions of LLVM without significant delay.   We have recently comple...

Visual Studio Code CMake Tools Extension 1.20 Release: Introducing Built-In CMake Language Services
Feb 20, 2025
2
2

Visual Studio Code CMake Tools Extension 1.20 Release: Introducing Built-In CMake Language Services

Sinem Akinci
Sinem Akinci

The February release of CMake Tools in VS Code is now available. With this release, we have some new updates to the extension to improve CMake integrations with the extension’s support. Some updates include the built-in support for CMake Language services, addressing our most highly-upvoted issues in the CMake Tools extension, and CMake presets v9 support. To view the full list of updates with this release, please look at our CHANGELOG. This release features the following nine contributions from our open-source community. Thank you for your continued support! Built-i...

MSVC C++ Code Analysis: Updates in Visual Studio 2022 version 17.13
Feb 19, 2025
0
3

MSVC C++ Code Analysis: Updates in Visual Studio 2022 version 17.13

Carson Radtke
Carson Radtke

This post details the latest updates in Visual Studio 2022 version 17.13 for MSVC C++ Code Analysis. Driven by internal team insights and developer community feedback, these improvements significantly reduce false positives and strengthen production code security.