leo85811nardo

joined 1 year ago
[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

All of the quirks you said are true, yet they still established the "okay" ecosystem of hobby-grade microcontrollers like Arduino, IoT devices, and other small scale robotics systems. None of them would have happened without the "okay" abstraction C/C++ provides as opposed to assembler

[–] [email protected] 5 points 2 months ago (2 children)

What's wrong with embedded C? Would you rather write assembly?

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

From my understanding, one of the actual use case of assembly is for cyber security engineers to dump assembly instructions from a compiled program, so they can check for any potential vulnerability. I've also seen assembly included in an embedded codebase (the overall project is in C), which I assume is for more optimized performance and deterministic behavior

[–] [email protected] 16 points 1 year ago (1 children)

Maintainability is inverse correlated to job security anyway

[–] [email protected] 7 points 1 year ago

Ackchyually, value watching in debugger almost guarantee to get the value by address, but printf in some languages can pass by value, unnecessarily make copy of the watched variable, and the value printed is the copied data instead of the original

[–] [email protected] 8 points 1 year ago

They used Arch forum. The reason it took a while because someone just left a link to a long wiki without any comment on where exactly to look at

[–] [email protected] 110 points 1 year ago* (last edited 1 year ago) (4 children)

In my opinion, it's bad either way for different reasons

If they do tell the difference, then there is some tracking built into the machine that runs the engine, which is bad for the application user

If they don't tell the difference, then there will be exploits for intentionally reinstall multiple times, which is bad for the application developers