C++ Team Blog

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

Speed up Windows PHP Performance using Profile Guided Optimization (PGO)

To introduce myself I am Ankit Asthana and I am the program manager for the backend C++ compiler. In my last two blogs I provided an introduction to what Profile Guided Optimization (PGO) is all about and a case study which illustrates how PGO is used to make SAP NetWeaver faster.  In this blog I would like to present the story about how ...

NuGet for C++ and the Northwest Hackathon

Howdy!My name is Garrett Serack, I'm not actually part of the Visual C++ team--I actually work as a Senior Software Development Engineer in Microsoft's Open Source Technology Center, which is part of Windows Server. I have a distinctly different job than most here at Microsoft-I work to get Open Source software running better on Windows ...

Fix: Visual Studio 2012 Update 2 breaks Windows XP targeting with ATL and/or statically linking MFC

Recently, some of our customers reported a bug in Visual Studio 2012 Update 2 that breaks Windows XP targeting with C++ in some scenarios. Specifically, applications using ATL and/or statically linking with MFC will get the following error when run on Windows XP:"The procedure entry point InitializeCriticalSectionEx could not be located in the...

NuGet for C++

The wait is over.  NuGet support for C++ projects is here.Quick Links• NuGet 2.5 Download page: https://nuget.codeplex.com/releases/view/96733• CoApp’s Powershell Tools Installer to create C++ NuGet packages: http://coapp.org/releases• Some C++ NuGet packages to try out:  http://nuget.org/...

Finding the Visual Studio Command Prompts in Visual Studio 2012

If you’re using Visual Studio 2012 on Windows 8, you may be looking for the Visual Studio Command Prompt shortcuts.  These shortcuts are installed by Visual Studio to run scripts that configure the command line environment to use particular sets of Visual Studio tools, or to use specific versions of the Visual C++ compiler from the ...

Profile Guided Optimization (PGO)

PGO is a runtime compiler optimization which leverages profile data collected from running important and performance centric user scenarios to build an optimized version of the application. PGO optimizations have some significant advantage over traditional static optimizations as they are based upon how the application is likely to perform in ...

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 groups in the late 90's and primarily ...