🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #722

Re: Re: Re: C Compiler Benchmarks

#722
From: Thomas M. Breuel
Date: Sat, 02 Mar 1985 04:47
17 lines
1396 bytes
> >     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.
Technical Details
Message-ID: <307@talcott.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!tmb
References: <5124@ucbvax.ARPA> <189@cadtroy.UUCP>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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