News for hackers. Stuff that matters.
Re:GCC undefined behaviors are getting wild by pjmlp on Monday November 28, 2022 @07:49AM (#33772965)
I agree, but unfortunely that will never happen in most C and C++ circles, just see the heat JF Bastien has been facing for a feature that has been shipping in Windows and Android for the last two years, proven in the battlefield to hardly hinder performance in real use cases.

https://isocpp.org/files/papers/P2723R0.html

Lots of people telling him it will never fly in production, while their Windows and Android phones are using the code that they say isn't good enough.

Re:GCC undefined behaviors are getting wild by gpderetta on Monday November 28, 2022 @08:11AM (#33773179)
Zero initialization is also one of those features that seems such a low hanging fruit to implement...

I'm still moderately optimistic. I suspect that many of these checks will end up being enabled by default on compilers shipped by distros, like stack guards and other forms of hardening.