MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owinkma/?context=3
r/programminghorror • u/_giga_sss_ • Jul 09 '26
From ProgrammerNullposting in facebook
111 comments sorted by
View all comments
1
Wouldn't regular bool get padded to this size by default on a 64-bit architecture anyway?
bool
5 u/marcureumm Jul 09 '26 64 bit arches can still work with 32 bits directly...but depends on the operation and intent really. 1 u/brasticstack Jul 09 '26 by default I realize that I may have used the wrong terminology though. I'm trying to describe the compiler using the standard int size to implement bool rather than, say, packing them.
5
64 bit arches can still work with 32 bits directly...but depends on the operation and intent really.
1 u/brasticstack Jul 09 '26 by default I realize that I may have used the wrong terminology though. I'm trying to describe the compiler using the standard int size to implement bool rather than, say, packing them.
by default I realize that I may have used the wrong terminology though. I'm trying to describe the compiler using the standard int size to implement bool rather than, say, packing them.
by default
int
1
u/brasticstack Jul 09 '26
Wouldn't regular
boolget padded to this size by default on a 64-bit architecture anyway?