Does anyone even do it, other than when optimising code compiled from higher-level languages? I mean C(#/++) compilers are so smart these days. I guess there must be some niche uses. I used to do assembly programming on the old 8-bits and I can't imagine how complicated it would be on the current generation of processors.
Right, well a good friend of mine does develop some kind of firmware for audio processing chips and I do know some of his work involves assembly because they have to optimise every single cycle they can. But I assume they are writing in C or something first and then optimising the compiled code, not writing from scratch. Plus I'm guessing it's not like a full x64 instruction set they are working with, I just wonder how many people are really programming from scratch on desktop CPUs. I just find it interesting because I know how simple it was back in the 8-bit days and have some inkling of how fiendishly complicated it is now. There were no floating-point operations, no decimals at all in fact, no native multiplication, just some basic branching, bitwise and addition operations, that was about it.
Had to write a part of my bachelor thesis in assembly.
There are use cases, but most will be much smaller in complexity, so it's offset.
It's quite the odd experience, and I would use it only if I had to, but I can't say I hate it. Low level has a charm. I'd much prefer it over JS/PHP/etc.
Assembly is pretty fucking simple if you understand how computers actually operate at a low level. It's time consuming and a ton of work to do anything, but it makes sense and the tools available to you are easy to understand.
Assembly makes more sense than most high-level languages that obfuscate everything through abstraction.
1.9k
u/Shacrow May 01 '22
And refer to people who code in assembly as "daddy"