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

C is also unpredictable: see the article from a couple days ago entitled "Why does my function run faster when the input array is sorted?"

(The answer was: branch prediction.)



I'm not sure that counts in the same way. You would have the branch prediction issue even if you program in assembly language and have precise control over the instructions the computer executes.




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

Search: