• Forum
  • Lounge
  • C+++ Team Blog | Making C++ Exception Ha

C+++ Team Blog | Making C++ Exception Handling Smaller On x64

closed account (E0p9LyTq)
For those who use Visual Studio this sounds like an interesting feature in VS2019.

Making C++ Exception Handling Smaller On x64

Visual Studio 2019 Preview 3 introduces a new feature to reduce the binary size of C++ exception handling (try/catch and automatic destructors) on x64. Dubbed FH4 (for __CxxFrameHandler4, see below), I developed new formatting and processing for data used for C++ exception handling that is ~60% smaller than the existing implementation resulting in overall binary reduction of up to 20% for programs with heavy usage of C++ exception handling.

I will likely wait for VS2019 to be officially released early next month, this option encourages me to consider upgrading from 2017 to 2019 shortly after the release instead of waiting for the inevitable bug fixes.
Registered users can post here. Sign in or register to post.