nothrow by default

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Jan 5 14:27:04 UTC 2020


On Sunday, 5 January 2020 at 13:56:14 UTC, rikki cattermole wrote:
> On 06/01/2020 2:51 AM, Ola Fosheim Grøstad wrote:
>> But how will it be faster if it doesn't recover on the spot?
>
> If you tell it to unwind, it won't.
> The idea is to either assert out or return from the erroring 
> function and let the parent figure it out.

But I think that the concern that people have is that the codegen 
will generate landingpads for all stackframes that either catch 
exceptions or call destructors. And that those landingpads make 
writing the code optimization stages more difficult.



More information about the Digitalmars-d mailing list