C++ Team Blog
229 FOLLOWERS
C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.
C++ Team Blog
19h ago
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.
Half of the pre-conference content for the conference is now available. We have videos on a host of topics:
Visualizing Macro Expansion in Visual Studio – Mryam Girmay
Remote Unit Testing in Visual Studio – Jonathan Phippen
New Linux Development Features in Visual Studio – Paul Maybee
Dev Containers in Visual Studio – Oleg Kharitonov
New Features for CMake Targets View in Visual Stu ..read more
C++ Team Blog
6d ago
With our recent 1.19 release, performance was our biggest focus for the C++ Extension in Visual Studio Code. This included features like progressive population of IntelliSense results and faster symbol searching. With these enhancements, you can begin writing C++ code when opening a file quicker than ever before. Additionally, we also added support for fuzzy results when searching for symbols.
Faster Go To Symbol Search
Searching for symbols using the “Go to Symbol in Workspace” command now uses a new algorithm which returns relevant results in a fraction of the time it took previo ..read more
C++ Team Blog
1w ago
Introduction
Introducing the new Templates View feature of Build Insights! Templates View now allows you to capture data about how templates in your codebase are contributing to your build time. This feature is available in Visual Studio 2022 17.10 and later.
Download Visual Studio 2022
Getting Started with Templates View
To use Build Insights in Visual Studio you will need to ensure you’ve installed the “C++ Build Insights” component. This is installed by default if you’ve installed either the “Desktop development with C++” or “Game development with C++” workloads.&nbs ..read more
C++ Team Blog
1w ago
Collaboration to improve the reliability and security of .NET, from the perspective of an MSVC Address Sanitizer Developer
Introduction
.NET (on GitHub) is a cross-platform, open-source, and general-purpose development platform with widespread adoption. A core component of .NET is the Core Common Language Runtime (CoreCLR), which provides services such as memory management, exception handling, threading, and interoperability with native code. It is used by millions of developers across multiple platforms, including Windows, Linux, and Mac OSx.
The CoreCLR is implemented in native code, C and C ..read more
C++ Team Blog
2w ago
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 JCA ..read more
C++ Team Blog
3w ago
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:
There are now 2,415 total libraries available in the vcpkg public registry.
21 new ports were added to the open-source registry. A port is a versioned recipe for building a package f ..read more
C++ Team Blog
1M ago
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 ..read more
C++ Team Blog
1M ago
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!
The post Sign Up for the free Pure Virtual C++ 2024 Conference appeared first on C++ Team Blog ..read more
C++ Team Blog
1M ago
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 C ..read more
C++ Team Blog
2M ago
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:
There are now 2,396 total libraries available in the vcpkg public registry.
22 new ports were added to the open-source registry. A port is a versioned recipe for building a package from source, such as a C or C++ library.
388 updates were made to existing ports. As always, we validate each change to a port by ..read more