logoalt Hacker News

metaltyphoonlast Sunday at 1:23 PM2 repliesview on HN

I… didn’t think this makes sense :)


Replies

pjmlpyesterday at 7:09 AM

Yes 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.

mslalast Sunday at 8:37 PM

It 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.

show 1 reply