4 ms·
It is? Out of curiosity, did you know about all the undefined behaviors described at Yes, those are familiar and described in every decent C introduction. Of c
by danieldk 15y ago
It is? Out of curiosity, did you know about all the undefined behaviors described at
Yes, those are familiar and described in every decent C introduction. Of course, that doesn't mean people do not make those mistakes. Let the compiler be pedantic.
did you understand how your C compiler takes advantage of them before you wrote that statement?
At the very least, is fairly easy to understand how the compiler optimizes correct code. In say, Haskell (which I do like a lot), you often have to resort to reading ghc's Cmm output to see why something is not optimized.