nothrow by default

Joseph Rushton Wakeling joseph.wakeling at
Mon Jan 13 16:41:23 UTC 2020

On Saturday, 4 January 2020 at 21:38:53 UTC, Walter Bright wrote:
> The first step is to add `throw` as a function attribute,
> The next step will be to make nothrow the default. I have not 
> prepared a DIP for that yet, but will.
> The short rationale is that exceptions being a "pay only if you 
> use them" is a complete fraud. They're expensive to support, 
> meaning performance programs use other ways of signalling 
> errors and use nothrow.

Do you have a plan for standardizing an alternative 
recoverable-error-signalling method?  For example `Result` types? 
  Or something else?

More information about the Digitalmars-d mailing list