64 bit architectures and C/C++

Phil Howard KA9WGN phil at ux1.cso.uiuc.edu
Thu May 9 07:52:10 AEST 1991


shankar at hpcupt3.cup.hp.com (Shankar Unni) writes:

>Well, lint goes a long way towards pointing out int-long mismatches, etc.
>But in my (humble?) opinion, much trouble would be headed off if C compilers
>on 64-bit architectures would simply dispense with the 16-bit type and make
>sizes of int == long == void * == 64 bits, and short == 32 bits.  Why is it
>so terribly important to have a 16-bit data type?

That DOUBLES the size of a program that is loading and working with
digitized audio samples that are moer than 8 bits wide.

>In any case, memory is getting cheaper these days..

And software is getting bigger just as fast to fill it up.
-- 
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil at ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/



More information about the Comp.lang.c mailing list