HackerTrans
TopNewTrendsCommentsPastAskShowJobs

charsii

no profile record

comments

charsii
·há 3 anos·discuss
It's trivially easy.

One low hanging fruit: Compilers are handicapped by ABIs and language semantics, they must adhere to calling conventions, alignments, paddings, exceptions/stack unwinding, etc.

If you don't have to care about any of that you can save a lot of useless instructions.

And secondly when it comes to size optimizations, compilers are pretty bad (or they tend to still value some speed over pure size). Wont find any modern compiler emitting lodsb/stosb (the non-rep kind) on x86 for example.
charsii
·há 3 anos·discuss
It's still always better to do N-1 than N evil things.
charsii
·há 3 anos·discuss
Crypto code should be written in assembly. Zero ambiguity, zero undefined behavior, 100% verifiable.
charsii
·há 3 anos·discuss
Free market working as intended.

If he's keeping up with his tasks and Google is satisfied, why work more?