C++ Team Blog

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

Latest posts

Fix C++ warnings and errors with Copilot: Introducing AI-Assisted Code Fixes in Visual Studio
Sep 11, 2024
Post comments count 2
Post likes count 2

Fix C++ warnings and errors with Copilot: Introducing AI-Assisted Code Fixes in Visual Studio

Sinem Akinci
Sinem Akinci

Stuck on an unfamiliar build error? Want to resolve your code errors quickly? Copilot is now integrated into Visual Studio error workflows to assist you with understanding and resolving C++ errors and warnings. To access this new feature, you will need an active Copilot subscription and the latest 17.11 GA version of Visual Studio. How does it work? There are two different entry points to accommodate where you are at in your error workflow: Semantically relevant code snippets from your active file and related files are automatically included as context to increase the relevant of the proposed fi...

Askia, an Ipsos company, achieved faster, reproducible builds with vcpkg
Sep 9, 2024
Post comments count 0
Post likes count 1

Askia, an Ipsos company, achieved faster, reproducible builds with vcpkg

Augustin Popa
Augustin Popa

vcpkg is a free and open-source C/C++ package manager maintained by Microsoft and the C++ community that runs on Windows, macOS, and Linux. Over the years we have heard from companies using vcpkg to manage dependencies at enterprise-scale. In this interview, I spoke to Dimitri Rochette, a lead developer at Askia, an Ipsos company, about vcpkg’s impact on their team. After switching to vcpkg and CMake, Askia was able to reduce build times for their dependencies by using the vcpkg binary caching feature and reduce their code size by about 300,000 lines by eliminating project files, scripts, and copied depend...

What’s New in vcpkg (August 2024)
Sep 5, 2024
Post comments count 0
Post likes count 0

What’s New in vcpkg (August 2024)

Augustin Popa
Augustin Popa

This blog post summarizes changes to the vcpkg package manager as part of the 2024.08.23 release, 2024-08-01 tool release, as well as changes to vcpkg documentation throughout August. This month’s release includes several notable changes as well as bug fixes and documentation improvements. The most notable changes were: Some stats for this period: Lastly, it’s CppCon season, and I am giving a talk on 10 Problems Large Companies Have with Managing C++ Dependencies and How to Solve Them on Tuesday, September 17, 2024, from 16:45-17:45 MDT. If you are coming to the conferenc...

MSVC Backend Updates in Visual Studio 2022 version 17.11
Sep 4, 2024
Post comments count 1
Post likes count 4

MSVC Backend Updates in Visual Studio 2022 version 17.11

Sarthak Tamboli
Sarthak Tamboli

Visual Studio 2022 17.11 brings new optimizations, intrinsics, features, and improvements to the MSVC backend. Check out the highlights below:  ...

Announcing the Proxy 3 Library for Dynamic Polymorphism
Sep 2, 2024
Post comments count 5
Post likes count 9

Announcing the Proxy 3 Library for Dynamic Polymorphism

Mingxin Wang
Mingxin Wang

Next Generation Polymorphism in C++

Prevent Critical Bugs with MSVC Code Analysis
Aug 22, 2024
Post comments count 2
Post likes count 3

Prevent Critical Bugs with MSVC Code Analysis

Mryam Girmay
Mryam Girmay

Imagine this: You’re deep into a complex C++ project, and everything seems to be running smoothly. But then, out of nowhere, a critical bug surfaces— one that requires a bit more foresight. We’ve all been there, right? This is where code analysis steps in as your silent guardian.  Code analysis is a great tool for catching those elusive bugs and ensuring your code adheres to the best programming practices. It identifies defects that are difficult to discover through testing by searching for specific code patterns known to cause problems.   The analysis results are displayed in the Visual Studio Error List ...

What’s New for C++ Developers in Visual Studio 2022 17.11
Aug 13, 2024
Post comments count 1
Post likes count 7

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

Sy Brand
Sy Brand

We are happy to announce that Visual Studio 2022 version 17.11 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. Standard Library We’re continuing to improve our open source standard library implementation. Thank you to everyone who has contributed features and fixes to this release! You can find the full set of changes at the STL changelog. Formatted Output We’ve made several advancements in our ...

GitHub Copilot Extensions for C++ developers and beyond now available in VS Code
Aug 7, 2024
Post comments count 0
Post likes count 4

GitHub Copilot Extensions for C++ developers and beyond now available in VS Code

Sinem Akinci
Sinem Akinci

GitHub Copilot is now more extensible than ever for extension authors in VS Code. At the Microsoft Build conference, we announced that VS Code extensions can now leverage APIs for Copilot to build custom chat participants that users can interact with in the GitHub Copilot Chat view in VS Code. To learn more, please watch the Build session on the new extensibility and read more on the VS Code blog.  Some notable extensions that have developed chat participants for public consumption include Microsoft Dev Box and Parallels. Another API that extensions can leverage LLMs with is the language model API. It enabl...

What’s New in vcpkg (July 2024)
Aug 1, 2024
Post comments count 0
Post likes count 0

What’s New in vcpkg (July 2024)

Augustin Popa
Augustin Popa

This blog post summarizes changes to the vcpkg package manager as part of the 2024.07.12 release, 2024-07-10 tool release, as well as changes to vcpkg documentation throughout July. This month’s release includes some minor changes to output, bug fixes, and documentation improvements. Some stats for this period:   vcpkg changelog (2024.07.12 release) The following notable changes were made in this release:   Documentation changes If you have any suggestions for our documentation, please submit an issue in...