2 ms·
> because that's what the compiler writers think they're doing. Yep. And that's why modern compilers are such a shit show. > any simple-but-obvious program is
by mpweiher 7y ago
> because that's what the compiler writers think they're doing.
Yep. And that's why modern compilers are such a shit show.
> any simple-but-obvious program is probably vulnerable to a dozen UB vulnerabilities.
I was shocked (well not really, but it is shocking) when a Googler and member of the C++ standards committee said in a talk (probably some C++ conf) that he works with the best C++ engineers in the world and none of them can write even small amounts of correct code according to the standard.
Head explodes.
Maybe, just maybe, there's something wrong with the standard and how it is interpreted? But apparently the thought never entered his mind.