4 ms·
Would love to see some real life examples as even the professor in my Computer Architecture class wasn't able to provide any. I think the notion of compsci stu
by awesomeMilou 4y ago
Would love to see some real life examples as even the professor in my Computer Architecture class wasn't able to provide any.
I think the notion of compsci students still having to learn ASM is the relic of an older generation that needs to feel like their outdated skills are still relevant.
- userbinator 4y agoHere's one recent example: https://news.ycombinator.com/item?id=15720923 https://news.ycombinator.com/item?id=15720923 If you want to see more examples of handwritten Asm then look at the 512b and below categories in the demoscene. Some of those have appeared on HN too: https://news.ycombinator.com/item?id=7940212 https://news.ycombinator.com/item?id=7940212
- awesomeMilou 4y agoThe second example only proves my point further: It's a demo from the demoscene. Impressive, but pointless outside enthusiast circles. I'm not going to comment on it. Regarding the first example: Cool! Really interesting and I wish the contractor / employee all the best. Not many people who can do something like this. That said, are we really forcing compsci students to learn ASM for an entire semester, on the off-chance that they'll end up in a leading security role managing major software products? I feel a different curriculum would be more effective (maybe one that teaches how to avoid these bugs in the first place?). The only real life application of handwritten ASM that I'm aware of, are the initialization routines for most programming language runtimes (GoLang and C++ come to mind) and microcode optimized shaders in game engines.