Raymond Chen's take on so-called zero cost exceptions

deadalnix deadalnix at gmail.com
Tue Mar 1 19:32:24 UTC 2022


On Tuesday, 1 March 2022 at 19:20:04 UTC, Elronnd wrote:
>> Interestingly, i submitted a patch to split exception code in 
>> cold section for LLVM the way GCC does it, but it ended up not 
>> being merged :/
>
> Curious, why not?

The perf benefits weren't so obvious expect for huge binaries. 
Huge binaries ended up being optimizable in other ways, such as 
bolt, PGO+LTO and the benefit wasn't so obvious in the end.



More information about the Digitalmars-d mailing list