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

Nick Treleaven nick at geany.org
Mon Dec 12 12:13:56 UTC 2022


On Monday, 12 December 2022 at 06:23:09 UTC, youSureAboutThat 
wrote:
>
> further clarifying the above:
>
> // -release will disable runtime boundscheck for code annotated 
> as @trusted and @system

Unless you override the default bounds checks option.

> // and also code not annotated at all (as it defaults to 
> @system)

Except certain functions can be inferred as safe:
https://dlang.org/spec/function.html#function-attribute-inference





More information about the Digitalmars-d mailing list