Introducing a new, advanced Visual C++ code optimizer

We are excited to announce the preview release of a new, advanced code optimizer for the Visual C++ compiler backend. It provides many improvements for both code size and performance, bringing the optimizer to a new standard of quality expected from a modern native compiler. This is the first public release and we are encouraging… Read more

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the next major… Read more

Performance++ with Visual C++ 2013

For Visual Studio 2013 we have continued to improve the analysis performed by the Visual C++ compiler so it can produce code that runs faster than before. In this blog we highlight some of the many improvements that Visual Studio 2013 has in store for you. This blog is intended to provide you an overview… Read more

Optimizing C++ Code : Dead Code Elimination

  If you have arrived in the middle of this blog series, you might want instead to begin at the beginning. This post examines the optimization called Dead-Code-Elimination, which I’ll abbreviate to DCE.  It does what it says: discards any calculations whose results are not actually used by the program. Now, you will probably assert… Read more

C++ IDE Performance Improvement in Visual Studio 2013 Preview

My name is Li Shao. I am a Senior Software Design Engineer in Test on the VC++ team. In this blog, I would like to share the performance enhancements we’ve made in VS 2013 Preview to improve the C++ IDE and build system. Performance is a vital part of software quality. Over the last couple… Read more

Using the 2013 CPU Sampling Profiler to Understand C++ Compiler Optimizations

If you’ve ever profiled an optimized build of a C++ application there is a good chance that you looked at the profiling report and saw some functions missing that you expected to be present so you had to assume that they had been inlined but couldn’t be certain. Likewise, if you’ve ever tried to improve… Read more

Optimizing C++ Code : Overview

If you have arrived in the middle of this blog series, you might want instead to begin at the beginning. This post explains the flow of data within the Visual C++ compiler – starting with our C++ source program, and ending with a corresponding binary program. This post is an easy one – dipping our toes… Read more

Optimizing C++ Code

Hi, my name is Jim Hogg and I am a Program Manager, working in the Visual C++ compiler team in Microsoft, based on the main campus here in Redmond. More specifically, I work in the part of the compiler that optimizes your code, to make it run faster, or to make it smaller, or a… Read more

Build faster and high performing native applications using PGO

I am Ankit Asthana and I am the program manager for the backend C++ compiler. For today’s topic I want to blog about a really cool runtime compiler optimization called Profile Guided Optimization (PGO) (we on the team call it POGO or PGO for short). PGO was initiated by the Visual C and Microsoft Research… Read more

The Visual C++ Weekly Vol. 1 Issue 24 (June 11, 2011)

Read in this issue: Modern Native C++ Development for Maximum Productivity | Tech·Ed North America 2011 High Performance GPU-Accelerated Games and Technical Applications | PDC 2010 C++ Design Patterns Legend Joins the Visual Studio Team InformIT: A Few Pedagogical Insights about C++ Teaching: Public Data Members Benign Data Races « Corensic Skills Matter : ACCU… Read more