Typical security issues in C++: why the GC isn't your enemy

Siarhei Siamashka siarhei.siamashka at gmail.com
Wed Dec 14 21:23:16 UTC 2022


On Wednesday, 14 December 2022 at 20:36:39 UTC, 
areYouSureAboutThat wrote:
> On Wednesday, 14 December 2022 at 13:00:51 UTC, Siarhei 
> Siamashka wrote:
>>
>> I guess, you probably want the @trusted parts of Phobos to be 
>> annotated as @supertrusted and ignored by this switch, because 
>> it's the standard library deserving special privileges? And 
>> only complain about the @trusted attribute usage in your own 
>> code or in third-party libraries written by plebeians ;-)
>
> No. I do not 'trust' the standard library to be 'safe'. Why 
> should I?

Earlier you posted this link: 
https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0227
Why do you 'trust' the standard library and VM of C# to be 'safe'?



More information about the Digitalmars-d mailing list