4 ms·
> The vast majority of programmers don't know assembly, so can in fact not work without all the abstractions they rely on. The problem with this analogy is obv
by benterix 1y ago
> The vast majority of programmers don't know assembly, so can in fact not work without all the abstractions they rely on.
The problem with this analogy is obvious when you imagine an assembler generating machine code that doesn't work half of the time and a human trying to correct that.
- nerdsniper 1y agoI mean, it’s more like 0.1% of the time but I’ve definitely had to do this in embedded programming on ARM Cortex M0-M3. Sometimes things just didn't compile the way I expected. My favorite was when I smashed the stack and I overflowed ADC readings into the PC and SP, leading to the MCU jumping completely randomly all over the codebase. Other times it was more subtle things, like optimizing away some operation that I needed to not be optimized away.
- vidarh 1y agoAn abstraction doesn't cease to be one because it's imperfect, or even wrong.