Hacker News new | past | comments | ask | show | jobs | submit login

While downvoted at the time of my response, this answer is correct. The optimizing compiler makes no timing guarantees, so it's not required to use any of the constructs in your second answer at all. If you need guaranteed timing, you cannot use standard C (instead use assembly or compiler extensions).



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

Search: