Better HN
topnewbestaskshowjobs
Log inSign up

charsii

19 karma · joined Aug 9, 2023 (3y ago) · 4 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

It's still always better to do N-1 than N evil things.

comment 3y ago · link · parent

Crypto code should be written in assembly. Zero ambiguity, zero undefined behavior, 100% verifiable.

comment 3y ago · link · parent

Free market working as intended.

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