C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Time Travel Debugging team uses Copilot Chat for C++
Ken Sykes and Juan Carlos Arevalo Baeza (JCAB) are both Principal Software Engineers who work on the Time Travel Debugging team at Microsoft, which is the team that maintains and develops the Windows Debugger (WinDbg) and related technologies. Their codebase is developed with C++ and CMake, and they primarily use Visual Studio Code for developing their code. They have been integrating GitHub Copilot and GitHub Copilot Chat into their C++ development in VS Code and have found many useful workflows for the AI pair programmer. This blog post series has been written in partnership with Ken and JCAB to highlight...
How Copilot is being used by the Time Travel Debugging team for repetitive C++ coding
Background Ken Sykes and Juan Carlos Arevalo Baeza (JCAB) are both Principal Software Engineers who work on Time Travel Debugging at Microsoft. They are part of the team that maintains and develops the Windows Debugger (WinDbg) and related technologies. Their codebase is developed with C++ and CMake and they primarily use VS Code for day-to-day development of their code. They have been integrating GitHub Copilot and GitHub Copilot Chat into their C++ development in VS Code and have found many useful workflows for the AI pair programming tool. Download GitHub Copilot To access GitHub Copilot and Copi...
Pure Virtual C++ 2024 Sessions Announced
Pure Virtual C++ is our free one-day virtual conference for the whole C++ community. This year it will run on April 30th 15:00 UTC. Sign-up for free to get access to our five sessions on the day and a host of pre-conference content. Here is the list of sessions:
What’s New in vcpkg (March 2024)
This blog post summarizes changes to the vcpkg package manager as part of the 2024.03.19 and 2024.03.25 releases as well as changes to vcpkg documentation throughout March. This month’s vcpkg release includes an arm64ec platform expression, more flexibility when mixing static and dynamic libraries, diagnostics improvements, a change in the binary caching ABI calculation, and bug fixes. Some stats for this period: vcpkg changelog (2024.03.19 + 2024.03.25 releases) Several improvements to diagnostics output. For example: Bug fixes: ...
Improvements in Variable Visibility when Debugging
In Visual Studio 2022 17.10 Preview 2, we’re including a small quality-of-life improvement that results in the Watch/Locals window displaying local variables correctly for any arbitrary frames in the call stack in debug builds. To try it out, please install the recently released Preview. For more information, read on. The problem: missing variables in Watch Window Have you ever been in this situation? We’re debugging some code, and have a breakpoint we hit in a function, foo. We need to inspect the values of some local variables a bit up the call stack, so we open up the call stack window and click to that f...
Sign Up for the free Pure Virtual C++ 2024 Conference
Every year we run Pure Virtual C++: a free one-day virtual conference for the whole C++ community. Next month we’re doing it again! Sign-up for free to get access to our five live sessions and a host of pre-conference content. The live event will start at April 30th 15:00 UTC. Videos will be available to stream for free on YouTube after the conference. The speakers and topics will be announced soon. Hope to see you there!
Using Copilot Chat with C++ in VS Code
If you are a C++ developer who uses VS Code as your editor, Copilot Chat can help you with many of your everyday coding tasks by allowing you to iterate with your code in natural language. Download GitHub Copilot Chat To access GitHub Copilot and Copilot Chat, you will need an active subscription to GitHub Copilot. Chat features are available by installing the GitHub Copilot Chat extension for VS Code. If you’re just getting started, please check out the VS Code documentation. We have just released a new YouTube video demonstrating the power of Copilot Chat in C++ code: We cover how Copilot Chat c...
What’s New in vcpkg (February 2024)
This blog post summarizes changes to the vcpkg package manager as part of the 2024.02.14 release and changes to vcpkg documentation throughout February. This month’s vcpkg release was mainly minor bug fixes, while several new documentation articles were added. Some stats for this period: vcpkg changelog (2024.02.24 release) Documentation changes If you have any suggestions for our documentation, please submit an issue in our GitHub repo or use the button “This page” at the bottom of a particular article. ...
MSVC Backend Updates since Visual Studio 2022 version 17.3
Since Visual Studio 2022 version 17.3, we have continued to improve the C++ backend with new features, improved support for arm64 and OpenMP, and new and improved optimizations across all architectures.