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

Instruction duration isn't constant even within the same arch. You cannot have branches in constant-time code.

I do wonder though how often cpu instructions have data-dependent execution times....




(Correction: You cannot have data-dependent branches. You can of course have branches to make a fixed-iterations for loop, for example)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: