Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site talcott.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!tmb From: tmb@talcott.UUCP (Thomas M. Breuel) Newsgroups: net.micro.mac Subject: Re: Re: Re: C Compiler Benchmarks Message-ID: <307@talcott.UUCP> Date: Fri, 1-Mar-85 23:47:34 EST Article-I.D.: talcott.307 Posted: Fri Mar 1 23:47:34 1985 Date-Received: Mon, 4-Mar-85 07:45:51 EST References: <5124@ucbvax.ARPA> <189@cadtroy.UUCP> Organization: Harvard University Lines: 17 > > This is an excellent point. I neglected to notice whether the other > > compilers used 16 or 32-bit integers. Someone told me that the C > > standard stipulates that an integer's worth of bits must be able > > to span the entire address space. I don't know about this. Can > > someone comment? > > Hmmm, the 68000 inside the MAC has a 24bit address space. A AT&T > 68010 UNIX distribution C compiler believes that ints are 16bits. No 'C' standard guarantees that sizeof(int)==sizeof(char *). A 'C' compiler for which this is true will allow you to port programs to it more easily, though, since many, many programs in the real world make just that assumption. For more info see net.lang.c, where there was a lot of discussion about this point. Thomas.