Skip to content

Comment on Soursop and Ponies in Kona: A C++ Committee Trip Report

Comments

I propose that C++ initialize all stack variables to zero, preventing ~10% of CVEs.

This can be done by compilers without any change to the language standard.

It can, but then most don't use it, even though Windows and Android have proven you can ship that into production with hardly any noticeble performance loss.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.