@safe by default and old code

Paul Backus snarwin at gmail.com
Fri Aug 6 03:47:03 UTC 2021


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


More information about the Digitalmars-d mailing list