Showing results for August 2021 - C++ Team Blog

Aug 31, 2021
3
0

C++20 Coroutine Improvements in Visual Studio 2019 version 16.11

Jonathan Emmett
Jonathan Emmett

This post includes contributions from Terry Mahaffey and Ramkumar Ramesh. We last blogged about coroutine support in Visual Studio 2019 version 16.8. In the releases since 16.8 we've introduced several new coroutine features and improvements. This post is a round up of those improvements, all available in Visual Studio 2019 16.11. Debugging I...

C++Coroutine
Aug 24, 2021
6
0

New Compiler Warnings for Dynamic Initialization and User Defined Sections

Xiang Fan
Xiang Fan

We've added two new warnings to MSVC for misuses of binary sections reserved for the compiler. This short post will explain the issues which they warn against, and potential fixes for your code. The MSVC C++ compiler provides several ways to create sections and place data in them. The linker will convert them into the 'sections' in the PE (Porta...

C++Announcement
Aug 11, 2021
1
0

Attach to a Remote Process with LLDB in Visual Studio 2022 Preview 3

Erika Sweet
Erika Sweet

You can now use Attach to Process to remote debug processes with GDB or LLDB in Visual Studio. The ability to attach to a process running on a remote system with GDB was added in Visual Studio 2019. The ability to attach to a process with LLDB is new in Visual Studio 2022 Preview 3. Remote debugging in Visual Studio is especially valuable for te...

C++AnnouncementLinux
Aug 10, 2021
8
0

ARM64EC Support in Visual Studio

Moyo Okeremi
Moyo Okeremi

ARM64EC (“Emulation Compatible”) is a new application binary interface for building apps for Windows 11 on ARM. With ARM64EC, you can build new native apps that can run on ARM or incrementally transition existing x64 apps to native performance on ARM. With Visual Studio, you can start building your projects as ARM64EC and enjoy the benefits.

C++
Aug 10, 2021
19
2

Moving a project to C++ named Modules

Cameron DaCamara
Cameron DaCamara

There is a lot of hype (and perhaps restraint) to using modules in projects. The general blocker tends to be build support, but even with good build support there is a distinct lack of useful resources for practices around moving projects to using named modules (not just header units). In this blog we will take a small project I created, analyze it...

C++General C++ Series