Posts by this author

Mar 22, 2024
Post comments count8
Post likes count4

Improvements in Variable Visibility when Debugging

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 varia...

C++Backend
Jul 24, 2019
Post comments count3
Post likes count0

Inlining Decisions in Visual Studio

Introduction My name is Terry Mahaffey and I work on the code generation team in MSVC. Lately I’ve been doing some work on our inliner and I wanted to give a brief introduction to it before later diving into some of the changes we’ll be shipping. Inlining is perhaps the most important optimization a compiler performs. In addition to removing ca...

performance
Jan 4, 2018
Post comments count0
Post likes count0

Visual Studio 2017 Throughput Improvements and Advice

点这里看中文版 As C++ programs get larger and larger and the optimizer becomes more complex the compiler's build time, or throughput, increasingly comes into focus. It's something that needs to be continually addressed as new patterns emerge and take hold (such as "unity" builds in gaming). It's something we're focusing on here in the Visual C++ Team, a...

performancefaster
Sep 10, 2015
Post comments count0
Post likes count0

New in VS 2015: Expanded PGO Options

We’ve blogged before about the benefits of Profile Guided Optimization. One of the biggest pieces of feedback we’ve received is that the instrumented binaries are too slow – making it very difficult to train certain classes of applications, such as games.This is something we’ve tried to address in VS 2015 – there were ...

C++
Aug 6, 2015
Post comments count0
Post likes count0

New in VS 2015: /Zc:throwingNew

The C++  Standard defines operator new as failing by throwing an exception – not returning null. And indeed, this is the behavior in VC++, and has been for a number of releases. But it hasn’t always been this way. Back in Visual Studio 6.0, the compiler returned null on an allocation failure. Starting in VS 2002 we switched over to...

C++