News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about undefined behavior by maccard on Monday November 28, 2022 @08:21AM (#33773286)
Theres a big difference between "the GCC mailing list is full of language lawyers" and "memcpy doesn't work because UB and the compiler Devs fixed it by adding an exception for it".

> I think aliasing rules messes up memcpy if you are dogmatic?

I'm _not_ dogmatic or a language lawyer and aliasing is a total pain in the ass, but that's a whole different topic to compilers getting fundamentals wrong because of language lawyering.

There are no comments on this comment yet.