Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!lll-tis!mordor!sri-spam!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu.UUCP Newsgroups: comp.lang.c,comp.unix.wizards Subject: Re: pointer alignment when int != char * Message-ID: <13218@topaz.rutgers.edu> Date: Wed, 8-Jul-87 14:17:50 EDT Article-I.D.: topaz.13218 Posted: Wed Jul 8 14:17:50 1987 Date-Received: Sat, 11-Jul-87 15:02:47 EDT References: <493@its63b.ed.ac.uk> <6061@brl-smoke.ARPA> <3812@spool.WISC.EDU> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 13 Xref: utgpu comp.lang.c:2774 comp.unix.wizards:2928 That is hideous. I don't know what supercomputer you are referring to but Crays have ints and longs both at 64 bits. There are no super-longs. When we did the compilers for the HEP Supercomputer (64 bit words), we opted for 16 bit shorts, 64 bit ints, and 64 bit longs. There is one more hardware supported type (half words-32 bits). Avoiding things that would really warp the language such as short long ints or long short ints, and realizing that we really wanted int to be 64 bits (the convenient size as stated in K&R and the standards), we settled for a seperate "hidden" type that we try to avoid using except when necessary. It was called _int32, though the term "medium int" did come up in discussion. By the way, it was a real pain hacking pcc to do the extra int type. -Ron