D not considered memory safe
Sebastian Nibisz
snibisz at gmail.com
Sat Jul 6 11:07:32 UTC 2024
On Saturday, 6 July 2024 at 00:21:32 UTC, Walter Bright wrote:
> On 7/5/2024 12:42 PM, Steven Schveighoffer wrote:
>> Yes, I'm aware. I purposely did not apply `@safe`. D is not a
>> memory safe language, you have to request it.
>
> D is memory safe if you type in "safe:" and use the gc.
>
> https://dlang.org/spec/memory-safe-d.html
Seriously? Any language is safe in this case, you just need to
write safe code.
More information about the Digitalmars-d
mailing list