@safe by default and old code

Kirill kirill.saidov at mail.com
Fri Aug 6 05:16:18 UTC 2021


On Friday, 6 August 2021 at 03:47:03 UTC, Paul Backus wrote:
> On Friday, 6 August 2021 at 00:30:36 UTC, Kirill wrote:
>> I've heard that there are plans to make D `@safe by default`.
>
> The plan to make `@safe` the default was [DIP 1028][1]. 
> Ultimately, it was rejected due to lack of consensus regarding 
> how `extern(C)` functions should be handled. Since then, no new 
> plan has been made, and it is probably safe to assume that 
> `@system` will remain the default.
>
> [1]: 
> https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1028.md

Thank you for the update.


More information about the Digitalmars-d mailing list