4 ms·
Manual assembly is almost never worth the effort.
by wwwhizz 6y ago
Manual assembly is almost never worth the effort.
- saagarjha 6y agoBut sometimes it is! To many, however, it can be difficult to know when.
- johannes1234321 6y agoEven more difficult: for how long? - Compilers get better and CPUs get new instructions one might miss in the manual code. If you have your tight critical loop in assembler one has to regularly verify.
- perryizgr8 6y agoI feel that if you're one of the rare people who know how and when crafted assembly works better, it's almost always also a better use of your time to work on the compiler, rather than whatever you are working on.
- sumtechguy 6y agoEven years ago when the compilers were not as good this is exactly what most people did. Compile it look at the asm. Sometimes see better bits here and there and replace that function with an asm one. If you are in a space where that perf really maters you do this more often.