dip1000 and preview in combine to cause extra safety errors

Walter Bright newshound2 at digitalmars.com
Tue Jun 14 02:17:39 UTC 2022


On 6/8/2022 5:04 PM, Mathias LANG wrote:
> `@safe` by default is only viable if `@safe` has minimum to no friction.
> This isn't the case *at all*. We have examples in the standard library itself.

I've converted a lot of old C code to D. @safe errors crop up regularly, but in 
nearly every case it is trivial to fix.

> It's also departing from D's identity as a system programming language which 
> makes it trivial to interop with C / C++, alienating a sizeable portion of our 
> community in the process.

On the other hand, people want their code to be more reliable. Buffer overflows 
are still the #1 problem in shipped C code.



More information about the Digitalmars-d mailing list