exceptions vs error codes

Superstar64 via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 10 12:58:00 PDT 2016


On Sunday, 10 July 2016 at 03:02:31 UTC, Superstar64 wrote:
> In terms of performance and code generation exceptions are 
> faster in the regular path while error codes are faster in the 
> error path.
>
> Would it be possible and a good idea to have a language feature 
> that allows some exceptions to use error code code generation.

I made a DIP for this: 
https://forum.dlang.org/thread/gkqomdjepixcbtycvepn@forum.dlang.org#post-gkqomdjepixcbtycvepn:40forum.dlang.org


More information about the Digitalmars-d mailing list