Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree that compilers have issues and that you have clearly run into some of them. I disagree with whether they are are more common than writing UB.


Oh, I didn't meant to imply that there are more common, just that they are common enough to be careful with optimizations.


Sure, I guess? In my experience I turn on the optimizer mostly without fear because I know that if, in the rare case I need to track down an optimizer bug, it would look the same as my process for identifying any other sort of crazy bug and in this case it will at least have a straightforward resolution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: