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

Can you elaborate on bounds checks being optimized out? Is it only in certain situations where compiler can prove that they are completely unnecessary? Otherwise, they can't be relied on, so what's the point of having them at all?



Yes, if the compiler can prove they're not needed, then it can remove the checks. But it has to prove it.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: