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

If we go by the absolute strictest interpretation of the C standard, yes, the above is UB.

But in practice no one has page boundaries that cross word boundaries, and I align to a word boundary before doing the word-by-word loop.



good point of course!




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

Search: