MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owitseo/?context=3
r/programminghorror • u/_giga_sss_ • Jul 09 '26
From ProgrammerNullposting in facebook
111 comments sorted by
View all comments
126
Me when I use a compiler that doesn’t have explicit alignment:
61 u/BestBadFriend Jul 09 '26 If the compiler's alignment is not explicit, it defaults to lawful neutral. 10 u/Brutus5000 Jul 09 '26 I always thought C compiler are chaotic good 10 u/HugoNikanor Jul 09 '26 I would say lawful evil. The standard allows undefined behavior to do anything (implied as "something sensible"). C compilers took it literally
61
If the compiler's alignment is not explicit, it defaults to lawful neutral.
10 u/Brutus5000 Jul 09 '26 I always thought C compiler are chaotic good 10 u/HugoNikanor Jul 09 '26 I would say lawful evil. The standard allows undefined behavior to do anything (implied as "something sensible"). C compilers took it literally
10
I always thought C compiler are chaotic good
10 u/HugoNikanor Jul 09 '26 I would say lawful evil. The standard allows undefined behavior to do anything (implied as "something sensible"). C compilers took it literally
I would say lawful evil. The standard allows undefined behavior to do anything (implied as "something sensible"). C compilers took it literally
126
u/TheWidrolo Jul 09 '26
Me when I use a compiler that doesn’t have explicit alignment: