D not considered memory safe
monkyyy
crazymonkyyy at gmail.com
Sat Jul 6 15:17:07 UTC 2024
On Saturday, 6 July 2024 at 11:07:32 UTC, Sebastian Nibisz wrote:
> 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.
..... 1 line of code is small enough
More information about the Digitalmars-d
mailing list