****Re: ****Re: ****Re: ****What's up with 64 bit Linux
Dale Farnsworth
dale at farnsworth.org
Mon Nov 26 18:52:57 MST 2007
> The biggest issue is that all your pointers are twice as big. The
> next issue is that while it was possible to never use int and always
> use something like int32 and define that to be int in a header file,
> I've only seen one place where everybody coded this way consistently.
> So as a practical matter, the ints are going to double in size too.
Correct for pointers, but not for ints.
x86-64 C compilers still define ints to be 32 bits. longs change from
32 bits to 64 bits in the move from i386 to x68-64, but chars, shorts,
ints, and long longs are the same size on both.
-Dale
More information about the PLUG-discuss
mailing list