DIP 1028 "Make @safe the Default" is dead
Faux Amis
faux at amis.com
Fri May 29 16:15:26 UTC 2020
On 2020-05-29 16:22, Paul Backus wrote:
> On Friday, 29 May 2020 at 04:53:07 UTC, Walter Bright wrote:
>> The subject says it all.
>>
>> If you care about memory safety, I recommending adding `safe:` as the
>> first line in all your project modules, and annotate individual
>> functions otherwise as necessary. For modules with C declarations, do
>> as you think best.
>>
>> For everyone else, carry on as before.
>
> This is sad news. I was excited for @safe-by-default, and had hoped that
> the issue with extern(C) could be solved without throwing DIP 1028 away
> entirely.
>
> I hope that you and Atila do not take the reception of DIP 1028 as a
> blow against @safe in general, and that you will continue to look for
> ways to improve the safety of the D language.
Agreed, from a novice perspective @safe by default looks like the way to go.
More information about the Digitalmars-d-announce
mailing list