Showing results for January 2021 - C++ Team Blog

Jan 27, 2021
3
0

Seamlessly Accelerate CMake Projects in Visual Studio with Incredibuild

Nick Uhlenhuth
Nick Uhlenhuth

Visual Studio 2017 shipped with first-class CMake support. Since then, we’ve continued to improve our CMake support by adding new features based on your feedback. We previously blogged about the built-in Incredibuild support for accelerating and visualizing your vcxproj projects, and many of you asked to get this same level of support for your CMak...

AnnouncementC++
Jan 26, 2021
6
0

Blizzard Diablo IV debugs Linux core dumps from Visual Studio

Erika Sweet
Erika Sweet

Blizzard is using Visual Studio 2019 to debug Linux core dumps on WSL. The following blog post is written by Bill Randolph, a Senior Software Engineer at Blizzard working on the development of Diablo IV. Thanks for your partnership, Bill! Introduction On Diablo IV we develop all our code on Windows and compile for multiple platforms.  This ...

LinuxGame Development
Jan 25, 2021
2
0

A Year of Conference Talks from the Microsoft C++ Team

Sy Brand
Sy Brand

As we learned to adapt to virtual conferences last year we presented more than 20 talks on a wide range of topics. I've collected them all here so you can easily learn about the latest advances in our tooling as well as the cutting edge of C++ features. C++ Europe (February) WSLConf (March) Pure Virtual C++ (April) ...

C++
Jan 21, 2021
0
0

Windows ARM64 support for CMake projects in Visual Studio

Erika Sweet
Erika Sweet

In Visual Studio 2019 version 16.9 Preview 3 we added support for deploying CMake projects to a remote Windows machine and debugging them with the Visual Studio remote tools. CMake developers targeting ARM64 Windows can now cross-compile (with cl or clang-cl), deploy, and debug their projects directly from Visual Studio. You can download and instal...

AnnouncementC++CMake
Jan 21, 2021
2
0

MSVC Backend Updates in Visual Studio 2019 version 16.9 Preview 3

Helena Gregg
Helena Gregg

In Visual Studio 2019 version 16.9 Preview 3 we have continued to improve the C++ backend with new features, new and improved optimizations, build throughput improvements, and better security. Here is a brief list of improvements for you to review.  Do you want to experience t...

C++BackendOpenMP
Jan 19, 2021
0
0

Build Throughput Series: More Efficient Template Metaprogramming

Xiang Fan
Xiang Fan

In the previous blog post I shared how template specialization and template instantiation are processed in the MSVC compiler. We will now look at some examples from real-world code bases to show some ways to reduce the number of them. Example 1 This example is extracted from our own MSVC compiler code base. The code tries to apply several statele...

C++
Jan 14, 2021
2
0

C++ with Visual Studio and WSL2

Erika Sweet
Erika Sweet

Our team released native support for C++ with the Windows Subsystem for Linux (WSL) in Visual Studio in 2019. “Native support” means that all commands are executed locally instead of over a SSH connection. Since then, WSL2 has been announced and we’ve received questions about our support for WSL2 in Visual Studio. The purpose of this blog post is t...

CMakeLinuxSurvey
Jan 14, 2021
5
0

Build Throughput Series: Template Metaprogramming Fundamentals

Xiang Fan
Xiang Fan

Template metaprogramming is popular and seen in many code bases. However, it often contributes to long compile times. When investigating build throughput improvement opportunities in large codebases, our finding is that more than one million template specializations and template instantiations is quite common and often provides optimization opportu...

C++
Jan 6, 2021
10
0

Faster C++ Iteration Builds

Russ Keldorph
Russ Keldorph

We made improvements to C++ link time earlier in Visual Studio 2019, and we have more improvements to tell you about. As of version 16.7, we measure up to 5X improvement in some incremental linking and debugging scenarios and up to a 1.5X speedup in full linking. These represent some of the improvements The Coalition saw in their recent experiment....

C++