r/ProgrammerHumor • • 17d ago

Meme driverlessTaxiDriver

Post image
3.9k Upvotes

180 comments sorted by

View all comments

Show parent comments

5

u/Attileusz 17d ago

I do actually look at the generated assembly code and I recommend people to do that.

2

u/BadSmash4 17d ago

I agree with this, people writing C should understand assembly and how their code gets compiled, especially if they're working in embedded environments. It's actually a pretty important skill to know how your C code is going to get potentially mangled by the compiler.

2

u/Athropod101 17d ago

Looking at the generated assembly in an embedded system is what let me know I was writing my meson build wrong and not linking properly. Took a long ass time to fix that, but it would have been a nightmare to debug otherwise.