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

Walter Bright newshound2 at digitalmars.com
Mon Dec 12 03:48:26 UTC 2022


On 12/9/2022 2:39 PM, H. S. Teoh wrote:
> According to `dmd -h`, they are disabled everywhere except @safe code.

Safe code is where bounds checking is needed.

> And arguably, @system code is precisely where you WANT to have bounds
> checks.

Use of @system code should be minimized and in it you're allowed to do whatever 
you want.



More information about the Digitalmars-d mailing list