Proposal: Exceptions and @nogc

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 4 01:41:51 PDT 2017


On 4/4/2017 1:08 AM, Atila Neves wrote:
> I think the point here is that some people already use pre-allocated exceptions.
> With this proposal, they'd have to change their codebase or suddenly have it go
> much slower.

High performance code should never have exceptions in the fast path. The code 
gen is heavily and unapologetically biased towards speed in the non-exception 
path. This is true for C++ and D.



More information about the Digitalmars-d mailing list