DIP 1028---Make @safe the Default---Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Fri Jan 3 23:29:26 UTC 2020

On 1/3/2020 5:03 AM, Guillaume Piolat wrote:
> I think what will be useful is accepting the change as -preview, let us build 
> with it and then see how many actual bugs it catched.

That's what the DIP says!

>> That was indeed the idea behind unsafety as the default. But the programming 
>> world has changed. We don't have a choice.
> Well yes this sounds like the sort of decision that can avoid loss of millions 
> in the far future. It's just a bit annoying, no biggie.

Yes. Although it will break a lot of code, the fix (annotate with @system where 
the compiler indicates) is straightforward.

More information about the Digitalmars-d mailing list