DIP 1028 "Make @safe the Default" is dead

Bruce Carneal bcarneal at gmail.com
Fri May 29 06:02:08 UTC 2020


On Friday, 29 May 2020 at 05:08:44 UTC, Bruce Carneal 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.
>
> Thanks Walter.
>
> I hope that Steve's recent auto-inference ideas might yet help 
> us achieve your, widely shared, goal of expanding @safe 
> coverage/utility.

Steve calls it "inferred-by-default", not "auto-inference".  It 
looks like a great way to bring a ton-load of code in to the 
@safe tent with low effort, but that's just the beginning.







More information about the Digitalmars-d-announce mailing list