C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

C++20 STL Features: 1 Year of Development on GitHub
C++20 STL Features: 1 Year of Development on GitHub
My CppCon 2020 talk, “C++20 STL Features: 1 Year of Development on GitHub”, is now available on YouTube. The slides are available on GitHub as PDF and original PPTX. The talk contains complete examples (not snippets!) of several C++20 features: integer comparison functions, constexpr algorithms, uniform container erasure, atomic_ref, ...
Introducing the new Azure SDK for C++ Beta
Introducing the new Azure SDK for C++ Beta
The Azure SDK team is pleased to announce their first beta release of the new Azure SDK for C++. Unlike the previous Azure Storage specific SDK, the new Azure SDK for C++ is idiomatic to the C++ language and ensures consistency in behavior and API surface when communicating with multiple Azure services. This initial beta supports Azure Blob ...
Faster C++ builds, simplified: a new metric for time
Faster C++ builds, simplified: a new metric for time
C++ Build Insights is a collection of tools and APIs that can help you gain a deeper understanding of your build times. Today, we’d like to teach you about a special metric offered in this toolkit: the wall clock time responsibility (WCTR). It can be used to estimate how much time is really spent by each activity in your build, even in the ...
Build and debug Qt projects on Linux with Qt Visual Studio Tools
Build and debug Qt projects on Linux with Qt Visual Studio Tools
Qt is a popular cross-platform framework for application development and user interface design. Its various libraries and toolsets can be used to create, test, and deploy applications that target multiple platforms and operating systems including Linux, Windows, macOS and embedded/microcontroller systems. Qt recently released a new version of...
C++ Core Check in Visual Studio
C++ Core Check in Visual Studio
C++ Core Check is Microsoft’s static analysis tool that enforces the rules from the C++ Core Guidelines, which is maintained by the C++ Foundation. This post is to provide a snapshot of the C++ Core Guidelines coverage that C++ Core Check offers. For background, the C++ team introduced C++ Core Check in December 2015 as part of Visual ...
New Safety Rules in C++ Code Analysis
New Safety Rules in C++ Code Analysis
In Visual Studio version 16.8 Preview 3,  we are adding a few safety rules to C++ Code Analysis that can find some common mistakes, which can lead to bugs ranging from simple broken features to costly security vulnerabilities. These new rules are developed around issues discovered in production software via security reviews and...
Welcome C++ developers to GitHub Codespaces! 
Welcome C++ developers to GitHub Codespaces! 
In May we announced Visual Studio Codespaces and its early support for C++ developers. Over the last several months we interviewed early adopters, and based on their feedback we continued to add new functionality and to improve the Codespaces experience. As part of these efforts, we are excited to announce that we’ve streamlined the ...
Happy 20th Birthday CMake!
Happy 20th Birthday CMake!
CMake is now 20! Kitware posted yesterday an interview with Bill Hoffman, the original creator for CMake and shared that August 31 was CMake's 20th birthday Here, in the C++ team, we are not only heavy CMake users. We also believe that CMake is a foundational piece for all C++ cross-platform developers and, as such, we strive to enable the ...
Project OneFuzz: new open source developer tool to find and fix bugs at scale
Project OneFuzz: new open source developer tool to find and fix bugs at scale
We're excited to echo Microsoft Security team's announcement that Project OneFuzz is now available as an open-source project in GitHub. To learn more about the announcement, head over to our Microsoft Security blog to read "Microsoft announces new Project OneFuzz framework, an open source developer tool to find and fix bugs at scale". From ...
C++ in Visual Studio Code reaches version 1.0!
C++ in Visual Studio Code reaches version 1.0!
We’re excited to announce the first generally available release of the C++ extension for Visual Studio Code! Visual Studio Code is a free code editor that runs on Linux, macOS, and Windows, and is highly-customizable to make it exactly what you want it to be. The C++ extension brings a rich set of productivity features to VS Code for C++ ...