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

Timon Gehr timon.gehr at gmx.ch
Fri Dec 9 00:36:11 UTC 2022


On 12/8/22 21:47, Walter Bright wrote:
> On 12/5/2022 3:58 PM, Timon Gehr wrote:
>> Default initialization does not even fix all initialization issues, it 
>> just makes them reproducible.
> 
> As I mentioned in another post, making them reproducible is a huge deal.

Absolutely, I agree with that. It's just that I think eliminating them 
statically makes even more sense.

> Leaving variables uninitialized is Heisenbug City. Testing finds the 
> reproducible ones, not the Heisenbugs.
> 

Yes. (This is why I don't want UB in general.)


More information about the Digitalmars-d mailing list