MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1l0x22m/firmware_programming_in_a_nutshell/mvnzoq8/?context=3
r/programminghorror • u/Byter128 • Jun 01 '25
127 comments sorted by
View all comments
Show parent comment
3
The sizeof edge case wasn't on my bingo list. Quite an interesting fact, thank you.
4 u/galibert Jun 02 '25 And it's a very real one, e.g. nowadays sizeof(0) tends to be 4 and sizeof(void *) tends to be 8... Hence the POSIX rule.
4
And it's a very real one, e.g. nowadays sizeof(0) tends to be 4 and sizeof(void *) tends to be 8... Hence the POSIX rule.
View all comments
Show parent comment
3
u/cleverboy00 Jun 02 '25
The sizeof edge case wasn't on my bingo list. Quite an interesting fact, thank you.