Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dpark
on June 12, 2017
|
parent
|
context
|
favorite
| on:
Chess.com stopped working on 32bit iPads because 2...
I'm aware of that. The question was whether any practical architectures will do the "wrong" thing here.
moefh
on June 13, 2017
[–]
Compilers will do the "wrong" thing. For example, gcc optimizes out the "x >= 0" check in
for (int x = 0; x >= 0; x++)
making it an infinite loop, because it assumes "x++" can't overflow.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: