How improvements to Visual Studio 2019 helped improve Forza Horizon 4

Forza Horizon 4
Forza Horizon 4 (Image credit: Microsoft)

What you need to know

  • Visual Studio 2019 has several improvements that speed up build and link time for game developers.
  • The improvements help developers of games such as Forza Horizon 4 spend more time writing code.
  • Link times in Visual Studio 2019 are 18.15 times faster than in Visual Studio 2017.

The improvements and explanations of these changes are rather technical, especially for non-developers such as myself, but the end result is that game developers get to spend more time doing what they do best, developing games. The improvements to Visual Studio 2019 and how they affect game development are outlined in a new blog post from David Li, Microsoft Visual Studio C++ program manager.

Andrew Sage from Playground Games explains:

Using full linking removes the debugger stalls associated with fastlink and allows our engineering team to focus on debugging the current build rather than waiting for the development environment to become responsive. Coupled with the overall improvements to build and link times, this leads to less workflow interruption and productivity improvements across the team.

As a result of these changes, the developers can compile files much quicker. The blog explains (emphasis from Li):

The compilation time has been improved by a factor of 1.52. When doing a full rebuild, the compile time decreased from 4 minutes 39 seconds in Visual Studio 2017 to 3 minutes 5 seconds in Visual Studio 2019 16.8. For a single file change, a 19 second reduction was observed. On average, the link times improved by a factor of 18.15X. The full rebuild link time in Visual Studio 2019 16.8 decreased by 10 minutes 18 seconds, a monumental improvement.

The impressive improvements that the move to Visual Studio 2019 brings result in very concrete changes. Sage from PlayGround Games explains (emphasis added):

Reducing iteration time to build and test changes allows us to be more productive, especially as gains add up over the course of all of the engineers multiple times per day. The main benefit was the removal of stalls when debugging with fast link when switching to full link, as these would add 30-45 seconds per debug session, which can be repeated multiple times per build.

This blog post from Li is the second post on this topic. You can also read Li's work on how the Coalition saw a 27.9 times iteration build improvement thanks to Visual Studio 2019.

Xbox Series X/S

Main

Sean Endicott
News Writer and apps editor

Sean Endicott is a news writer and apps editor for Windows Central with 11+ years of experience. A Nottingham Trent journalism graduate, Sean has covered the industry’s arc from the Lumia era to the launch of Windows 11 and generative AI. Having started at Thrifter, he uses his expertise in price tracking to help readers find genuine hardware value.

Beyond tech news, Sean is a UK sports media pioneer. In 2017, he became one of the first to stream via smartphone and is an expert in AP Capture systems. A tech-forward coach, he was named 2024 BAFA Youth Coach of the Year. He is focused on using technology—from AI to Clipchamp—to gain a practical edge.