logoalt Hacker News

aw1621107 • today at 6:57 AM • 0 replies • view on HN

In the case of C++ initialization is (currently) only done for automatic variables, so you're not likely to be zero-initializing multiple megabytes of stack. There's also [[indeterminate]] for opting out of initialization, though that has to be done per variable.