3 ms·
Honestly we should talk about “The Security Cost of No Overflow Checking” first.
by lelf 12y ago
Honestly we should talk about “The Security Cost of No Overflow Checking” first.
- sp332 12y agoYes! You can make code that runs as fast as you want if it doesn't have to actually work.
- Rusky 12y agoIt's good to talk about, but not every article on performance needs to be prefaced with a talk about security. Being aware of the performance costs of your tools is just as important in many cases. Besides, if we're talking about language design and compiler optimizations, there are plenty of ways to check overflow without resorting to a branch on every arithmetic operation.