Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!yetti!geac!daveb From: daveb@geac.UUCP (Brown) Newsgroups: comp.sys.mac Subject: Re: Mac C Compilers, Benchmarks, Stupidity Message-ID: <1200@geac.UUCP> Date: Fri, 21-Aug-87 10:23:45 EDT Article-I.D.: geac.1200 Posted: Fri Aug 21 10:23:45 1987 Date-Received: Sat, 22-Aug-87 18:02:36 EDT References: <3560@cit-vax.Caltech.Edu> <3676@sdcsvax.UCSD.EDU> <1179@geac.UUCP> <3688@sdcsvax.UCSD.EDU> Reply-To: daveb@geac.UUCP (Dave Collier-Brown) Organization: The little blue rock next to that twinkly star. Lines: 19 In article <3688@sdcsvax.UCSD.EDU> jww@sdcsvax.UCSD.EDU (Joel West) writes: >I would note that most Pascal compilers can assume that arrays >are < 32 Kb long, or can at least tell short arrays from long >arrays. Because of the nature of C, any reasonable compiler >must assume that any array can be any length, including longer >than 32 Kb. Actually the compiler was assuming (and demanding!) that the array was less than 32k bytes. I wrote an explicit address expression and looked to see how well the compiler was doing with it. Surprise! it did remarkably well. And the code on either side looked good, too. But, back to the orig. request: will someone *please* do the same stupidity test with MPW or a suitable Mac Pascal? -- David Collier-Brown. {mnetor|yetti|utgpu}!geac!daveb Geac Computers International Inc., | Computer Science loses its 350 Steelcase Road,Markham, Ontario, | memory (if not its mind) CANADA, L3R 1B3 (416) 475-0525 x3279 | every 6 months.