C++ Team Blog

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

Latest posts

May 19, 2026
Post comments count 1
Post likes count 1

Introducing Sample Profile Guided Optimization in MSVC

David Gillies

Profile Guided Optimization (PGO) has long been one of the most powerful tools in the MSVC compiler's arsenal for improving the runtime performance of C and C++ applications. By using execution profile data collected from representative workloads, PGO enables the compiler to make smarter decisions about inlining, code layout, and hot/cold code separation - decisions that are impossible to make from static analysis alone. In practice, PGO can deliver large performance improvements for C/C++ code. Today, we're introducing Sample Profile Guided Optimization (SPGO), a new approach to profile-guided optimization th...

May 19, 2026
Post comments count 5
Post likes count 3

NuGet PackageReference for C++ Projects in Visual Studio

Augustin Popa

Native C++ projects (.vcxproj) now support NuGet PackageReference, the same modern package management experience .NET developers have used for years. Available as an experimental feature in Visual Studio 2026 version 18.7.

May 14, 2026
Post comments count 1
Post likes count 2

Segment Heap support for C++ projects in Visual Studio

MacGyver Codilla

Learn how Visual Studio enables Segment Heap by default for new C++ projects and how to adopt and verify it in existing builds.

May 13, 2026
Post comments count 2
Post likes count 5

MSVC Build Tools Preview updates – May 2026

Eric Brumer

Try the latest updates to MSVC Build Tools Preview

May 12, 2026
Post comments count 0
Post likes count 5

MSVC Build Tools version 14.51 (GA) now available

Michael Price

MSVC Build Tools v14.51 GA available in Visual Studio 2026 18.6

May 7, 2026
Post comments count 0
Post likes count 0

Project-Specific Build Optimizations with GitHub Copilot

David Li

We are excited to announce that GitHub Copilot build performance for Windows now supports project-specific builds! Available in the latest Visual Studio Insiders, you can target a single MSBuild project or CMake target instead of analyzing your entire solution. For game developers and teams working with large codebases, this eliminates the need to wait for a full-solution build when you only want to optimize one project. Since launching GitHub Copilot build performance for Windows in Public Preview, we have received a lot of feedback from game studios working on large engines and enterprise monorepos. Rebuildi...

May 7, 2026
Post comments count 0
Post likes count 0

What’s New in vcpkg (Apr 2026)

Augustin Popa

These updates include improved locking for parallel builds, cross-platform PE dependency analysis, manifest support for the depend-info command, and other improvements and bug fixes.

May 4, 2026
Post comments count 1
Post likes count 1

Giving Copilot more C++ context using custom instructions in VS Code

Sinem Akinci

In February, we announced how GitHub Copilot can now use C++ symbol context and CMake build configuration awareness to deliver smarter suggestions in Visual Studio Code. Today, we're excited to share new ways to further enhance your C++ development experience with Copilot and get the most out of the language-driven suggestions, by leveraging custom instructions designed specifically for C++ language tools.  Enabling Custom Instructions You can access these custom instructions in the awesome-copilot repo, a community-driven collection of instructions, prompts, and configurations to help users get the most out of...

Apr 22, 2026
Post comments count 0
Post likes count 1

Take the 2026 ISO C++ Developer Survey!

Augustin Popa

The 2026 ISO C++ developer survey is now open: 2026 Annual C++ Developer Survey "Lite" : Standard C++ It takes about 10 minutes and directly informs the standardization committee and tooling vendors so the C++ ecosystem can continue evolving the right way. Please share your feedback and share with your colleagues!