4 ms·
All of that tooling and Rust will always be less efficient than Assembler.
by deepsun 6mo ago
All of that tooling and Rust will always be less efficient than Assembler.
- metaltyphoon 6mo agoI… didn’t think this makes sense :)
- msla 6mo agoIt makes perfect sense: Rust compilers will never beat a human at scheduling every single opcode perfectly based on the deepest microarchitectural analysis short of decapping the chip and breaking out the ol' electron microscope. Whether it's worthwhile to be that efficient over a whole program, as opposed to a preternaturally tight compute kernel, is definitely questionable.
- metaltyphoon 6mo ago> scheduling every single opcode perfectly based on the deepest microarchitectural Is that even possible knowing OOE+ branch execution and many other CPU tricks?
- pjmlp 6mo agoYes it does, that is why most serious games used to be written in Assembly, until BASIC, Pascal, C and C++ compilers got enough language extensions and compiler knobs to not having to do that all the time, and yet some Assembly is still required.