[Python-3000] sizeof(size_t) < sizeof(long)

Adam Olsen rhamph at gmail.com
Thu Apr 17 07:47:37 CEST 2008


On Wed, Apr 16, 2008 at 10:32 PM, Greg Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> David Cournapeau wrote:
>
>  > Maybe everyone understands it as 8 bits, but it has always been wrong.
>
>  It may not be officially written down anywhere, but
>  almost everyone in the world understands a byte to mean
>  8 bits. When you go into a computer store and ask for
>  256MB of RAM, you don't expect to be asked "What size
>  bytes would that be, then, sir?"
>
>  So it's a de facto standard, and one that works perfectly
>  well. Going against it is both futile and unnecessary,
>  as far as I can see.

Sure, *now*, but C inherited their definition from a day when it
wasn't so clear cut.  It may be obsolete today, but good luck getting
them to change the standard.

-- 
Adam Olsen, aka Rhamphoryncus


More information about the Python-3000 mailing list