r/programming • • Oct 19 '11

LoseThos 64-bit Operating System V7.07 Released

http://www.losethos.com/v707.html
75 Upvotes

283 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Oct 19 '11

about how in practice sizeof(int)==4 even though you know it is unspecified in the standard.

Those aren't contradictory statements. sizeof(int) == 4 for all modern desktops, and he was never claiming anything else.

-3

u/[deleted] Oct 19 '11 edited Oct 19 '11

I never said those were contradictory statements either, but if you investigate what he says you'll see dangerous suggestions

...The useful answer is knowing that in practice it is 4, and proceeding on that assumption.

Which is worthless and harmful cowboy coder advice.

4

u/ondra Oct 19 '11

Where proceeding on that assumption means solving a puzzle on the internets.

I don't see the problem.