D not considered memory safe

Lance Bachmeier no at spam.net
Sat Jul 6 23:17:00 UTC 2024


On Saturday, 6 July 2024 at 23:10:02 UTC, Walter Bright wrote:
> On 7/6/2024 4:07 AM, Sebastian Nibisz wrote:
>> Seriously? Any language is safe in this case, you just need to 
>> write safe code.
>
> Enabling the checks is quite different from writing code with 
> no bugs in it.

Correct. If `@safe:` is too much to add to the program, then how 
do you know `@trusted:` didn't slip in somewhere? You'd have to 
remove the possibility of writing unsafe code if those are the 
constraints.


More information about the Digitalmars-d mailing list