Discussion Thread: DIP 1028--Make @safe the Default--Final Review
Walter Bright
newshound2 at digitalmars.com
Fri Mar 27 09:22:28 UTC 2020
On 3/25/2020 4:33 PM, H. S. Teoh wrote:
> I think the intention is that most D code will be @safe, and things like
> DIP1000 will apply to enforce memory safety, and only when you need to
> "go under the hood" you'd have a @system function as the escape hatch to
> do the low-level hacks. The way I read it, this is all part of a
> general grand plan, which includes this DIP, to move towards having most
> D code be @safe and only occasionally drop down to @system for
> operations that cannot be mechanically verified. Hence, @safe by
> default.
That's right.
More information about the Digitalmars-d
mailing list