nothrow by default
Gregor Mückl
gregormueckl at gmx.de
Fri Jan 10 03:42:53 UTC 2020
On Friday, 10 January 2020 at 01:40:00 UTC, Walter Bright wrote:
> On 1/9/2020 12:39 PM, H. S. Teoh wrote:
>> It's not really the exceptions themselves
>> that people object to, but the associated implementation
>> issues.
>
> Yes. They're very costly, even in code that never throws.
>
The longer this discussion drags on, the more I doubt my
understanding of this topic.
What exactly is the execution overhead for non-throwing code
paths?
I believe I understand the overhead once stack unwinding needs to
be performed, but how is code generation affected for the normal
path?
More information about the Digitalmars-d
mailing list