D not considered memory safe
monkyyy
crazymonkyyy at gmail.com
Tue Jul 9 16:18:27 UTC 2024
On Tuesday, 9 July 2024 at 15:58:17 UTC, Nick Treleaven wrote:
> On Monday, 8 July 2024 at 14:46:47 UTC, monkyyy wrote:
>> A dull knife is the dangerous one, safety features just get in
>> the way and you'll get people learning actively awful patterns
>> in an attempt to force the tool to work
>
> Any pattern to subvert safe involves the `@trusted` attribute
> (except for compiler bugs, which editions help to fix).
> Any
nah; trusted helps make a pressure release valve which will
prevent the truly pathological situations of say rust or
enterprise grade fizzbuzz but.....
The way I will subvert the safety features will be entirely
unpredictable, we wont know till im forced to learn what safe
actually does, if Im writting `@trusted:` at the top of files
next to my `import std` all`y`alls will be lucky; if its more
like how I made an "appendable alias seq", well theres only like
3 poeple who understood those mere 80 lines of code
More information about the Digitalmars-d
mailing list