logoalt Hacker News

romanovcodetoday at 4:47 PM2 repliesview on HN

To be fair nobody codes in ASM and things are fine for decades.


Replies

rhdunntoday at 5:00 PM

ASM is still used in some areas, such as:

1. function trampolines, such as in libraries like ATL (Microsoft's COM template library);

2. hand-optimized encoders/decoders for things like ffmpeg;

3. niche applications such as Ben Eater's 6502 breadboard computer (using a modified WozMon and Microsoft BASIC);

4. reading ASM output from C/C++ code in things like the GodBolt site for performance comparisons/analysis;

5. reverse engineering old DOS games;

6. people working on things like compilers (generating optimized assembly), JIT engines, or other code generation -- though this will typically be machine code, possibly with assembly instruction comments;

and other performance critical places where assembly can speed up that part of the code.

show 1 reply
adamddev1today at 7:14 PM

ASM to a higher level language is a jump to a clearly defined higher level language through a deterministic compile step. The jump away to LLMs is something completely different.