charsii
Re:A forum engine written in Assembly
on Sunday August 27, 2023 @04:05PM (#37286137)
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.
Re:A forum engine written in Assembly
on Sunday August 27, 2023 @03:29PM (#37285837)
It's still always better to do N-1 than N evil things.
Re:Rust Cryptography Should Be Written in Rust
on Saturday August 26, 2023 @02:15PM (#37275377)
Crypto code should be written in assembly.
Zero ambiguity, zero undefined behavior, 100% verifiable.
Re:Google engineer earns $150K works 1 hr/day, spends rest of time on ...
on Tuesday August 22, 2023 @04:49PM (#37228318)
Free market working as intended.
If he's keeping up with his tasks and Google is satisfied, why work more?