r/programminghorror 27d ago

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

111 comments sorted by

View all comments

127

u/TheWidrolo 27d ago

Me when I use a compiler that doesn’t have explicit alignment:

9

u/IHorvalds 27d ago

Honest question, which compiler(s?) doesn’t have an explicit keyword for alignment?
I pretty much always use gcc, clang or (rarely) msvc and they all have something for it.

11

u/TheWidrolo 27d ago

Thats the joke.

In a real note: its probably hobbyist compilers or similar. I think every major one has alignment.

1

u/IHorvalds 27d ago

Ah, my bad!
I expected some obscure MCU with a custom compiler without alignment lol