From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-19 05:04:34 PST Path: archiver1.google.com!news2.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.uninet.ee!news.ut.ee!not-for-mail From: Sander Vesik Newsgroups: comp.sys.dec,comp.arch Subject: Re: using memory beyond the "top" of stack Date: Thu, 19 Jul 2001 12:02:25 +0000 (UTC) Message-ID: <995544150.127310@haldjas.folklore.ee> References: <994616870.688233@haldjas.folklore.ee> <9iuka3$rku$1@mach.thp.univie.ac.at> <9j0jts$r2u$1@sword.avalon.net> <1bn163xzf0.fsf@cs.nmsu.edu> <9j5fd2$bgu$1@sword.avalon.net> <1br8vdbokt.fsf@cs.nmsu.edu> <3B5674F9.C4F76DC1@jetnet.ab.ca> NNTP-Posting-Host: haldjas.folklore.ee X-Trace: kadri.ut.ee 995544145 21124 193.40.6.121 (19 Jul 2001 12:02:25 GMT) X-Complaints-To: usenet@kadri.ut.ee NNTP-Posting-Date: Thu, 19 Jul 2001 12:02:25 +0000 (UTC) User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (FreeBSD/4.3-RELEASE (i386)) Cache-Post-Path: haldjas.folklore.ee!unknown@localhost X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.sys.dec:6006 comp.arch:14313 In comp.arch Ben Franchuk wrote: > Joe Pfeiffer wrote: >> >> dsiebert@excisethis.khamsin.net (Douglas Siebert) writes: >> >> > I'm sure HP isn't the only one who did this sort of ugly thing. It was >> > kind of nice how Alpha left the whole 32 bit chunk at 0x0 unmapped to >> > make it more easy to catch int<->pointer problems. Though I'm still a >> > bit unhappy about their decision to have a 32 bit int in the first place, >> > now we are stuck with that decision forever in 64 bit Unix, and the >> > original meaning of "int" (largest integral type) is no longer valid. >> >> ``int'' isn't longest integral type, ``long int'' is (long long int >> never made it into ANSI, did it? If it did, I'll stand corrected). >> ``int'' is the most natural integral type (or words to that effect). >> While discussing traps I've fallen into, another good one was an Amiga >> C compiler that used a 16 bit int... perfectly valid, but not what >> this overly-trusting programmer was expecting at all. > So did most of the 8086 compilers.:-( Well, on 8086 the widest architecture supported, as well as the natural type are both 16 bits - so making int be that type makes sense. Probably the worst new and in wide circulation "feature" is all the code assuming that 'long long' means 64 bits. > Ben. > -- > "We do not inherit our time on this planet from our parents... > We borrow it from our children." > "Pre-historic Cpu's" http://www.jetnet.ab.ca/users/bfranchuk > Now with schematics. -- Sander FLW: "I can banish that demon"