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

Zealot no2 at no.no
Thu Dec 8 21:02:57 UTC 2022


On Thursday, 8 December 2022 at 20:52:26 UTC, Walter Bright wrote:
> On 12/6/2022 5:33 AM, deadalnix wrote:
>> Compiler can do control flow analysis, so they can force you 
>> to initialize things before you use them. This is the right 
>> solution to that problem.
>
> Your are correct, but this isn't done because it makes compiles 
> 10x or more slower.

would it be possible to have it behind a compiler switch if it's 
a useful tool to catch bugs. it's enough to run extra checks one 
before release.


More information about the Digitalmars-d mailing list