Better HN
topnewbestaskshowjobs
Log inSign up

laauraa

5 karma · joined Aug 12, 2025 (1y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

>Uninitialized data

They at least fixed this in c++26. No longer UB, but "erroneous behavior". Still some random garbage value (so an uninitialized pointer will likely lead to disastrous results still), but the compiler isn't allowed to fuck up your code, it has to generate code as if it had some value.