Discussion Thread: DIP 1028--Make @safe the Default--Final Review
Jonathan Marler
johnnymarler at gmail.com
Mon Apr 6 05:35:13 UTC 2020
On Monday, 6 April 2020 at 00:54:16 UTC, Adam D. Ruppe wrote:
> On Monday, 6 April 2020 at 00:09:41 UTC, Jonathan Marler wrote:
>> Now, as to what to do. I spent a few minutes and added
>> `@safe:` in to the source files in druntime for windows, posix,
>> and linux. Done.
>
> That's my preferred solution to all this. It is a breaking
> change but much less of one. I wrote about it a few months ago
> in my blog:
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_01_13.html#my-attribute-proposal---no-changes-to-defaults
Yeah, I'd like to see projects start doing this and report back
what bugs it found and how it improved code. Would be great to
get some data on the benefits of "@safe by default" in the real
world.
More information about the Digitalmars-d
mailing list