this post was submitted on 20 Aug 2025
172 points (75.3% liked)
Programmer Humor
25950 readers
511 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I used to think that, but when you're dealing with a lot of low-level stuff you'll eventually realize that Compilers are pretty bad at generating fast and reliable Assembly where it's needed. Also, some Architectures have specific machine instructions that Compilers just don't take advantage of, no matter what flags you enable.
Interesting. Do you have some examples?
Writing those frequently-called leaf functions in assembly has certainly far outlived it's use in other places. But, the word on the street, or I guess the conventional wisdom, is that compilers have gradually caught up even there.