C++ Team Blog

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

Clang with Microsoft CodeGen (January 2016) released

We have just released an out-of-band update of Clang/C2 toolset that brings in some of the community fixes as well as bugs found from testing. This is one of many rapid releases to come in the future, and issues reported from customers will be addressed progressively. Here we only list the changes since the previous release, for a more ...

Support for Android CMake projects in Visual Studio

CMake is a cross-platform project generator that enables reuse of shared C++ code across multiple IDE and project systems. We made a change to CMake to support our Android toolchain in Visual Studio. With this change, you can take your existing CMake project targetting Android, and with minimal modifications, you can have it open in Visual ...

C++ Core Guidelines Checkers available for VS 2015 Update 1

[This post was written by Andrew Pardoe and Neil MacIntosh] Update: The CppCoreCheck tools are now part of VS 2017: https://blogs.msdn.microsoft.com/vcblog/2016/10/12/cppcorecheck. Back in September at CppCon 2015 Neil announced that we would be shipping new code analysis tools for C++ that would enforce some of the rules in the C++ Core...

C++ Modules in VS 2015 Update 1

点这里看中文版 [This post was written by Gabriel Dos Reis and Andrew Pardoe] Update: See this post on using the Standard Library via modules in MSVC. The VC++ team is excited to preview a new feature in VS 2015 Update 1: The first experimental implementation of A Module System for C++, proposed for C++17. That proposal was approved by ...

Coroutines in Visual Studio 2015 – Update 1

In preview of Visual Studio 2015, we introduced Coroutines for C++, see these blog post for an introduction and here. You can also look at the CPPCon 2015 talk about C++ Coroutines here. We continue to work on resumable functions, here it is a brief update on coroutines status in VS 2015 Update 1. See the Visual Studio 2015 Update1 post...

Java debugging and language support in Visual Studio for Android

As part of our continued efforts to make Visual Studio a productive environment for developing mobile applications we’re pleased to announce that Visual Studio 2015 Update 1 RC adds support for debugging your Java source files that are part of your Android projects and (with the help of an extension) get IntelliSense and Browsing ...

Memory Profiling in Visual C++ 2015

As announced in an earlier blog post, Visual Studio 2015 hosts a new set of memory profiling tools to help address and fix memory issues within your applications.  The new debug-time profiler runs during your debugging session and allows you to take snapshots anytime, such as at a breakpoint, and also view the heap contents ...

Do You Prefer Fast or Precise?

What is this Blog About? My name is Jim Hogg, a Program Manager in the Compilers team. We would like your feedback on a feature of the Visual C++ compiler that affects the code we generate for floating-point operations. Your answers will help determine what we do. You can vote via survey -- it should not take you more than a few minutes to ...