🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #10970

Re: IBM AS/400 is the world's slowest computer

#10970
From: Guy Harris
Date: Fri, 25 Dec 1992 19:56
16 lines
1389 bytes
>(I've often wondered exactly what C
>ended up looking like on that machine, as pointers and ints are definitely not
>the same, and casting an int to a pointer makes no sense).

I suspect it looks like a C that punishes people who think pointers are
the same as "int"s; I wish there were *more* C implementations like
that, in order to break some C programmers' bad habits.  I've heard a
claim that pointers are 128 bits long; that may have been done so that
pointers to elements of arrays contain, in effect, the bounds of the
array, so that pointer arithmetic on those pointers can be checked to
make sure it results in a pointer that points into the same array as the
original pointer.

(And yes, such a C implementation *can* be a valid ANSI C
implementation, even though it doesn't allow the kind of fast-and-loose
glop that some C programmers think is key to the C language....)
Technical Details
Message-ID: <16090@auspex-gw.auspex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
References: <1992Dec24.203452.22045@beaver.cs.washington.edu> <BzsIFK.EMF.2@cs.cmu.edu> <1992Dec25.033918.3246@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.arch
Subject: Re: IBM AS/400 is the world's slowest computer
Message-ID: <16090@auspex-gw.auspex.com>
Date: 25 Dec 92 19:56:37 GMT
References: <1992Dec24.203452.22045@beaver.cs.washington.edu> <BzsIFK.EMF.2@cs.cmu.edu> <1992Dec25.033918.3246@beaver.cs.washington.edu>
Sender: news@auspex-gw.auspex.com
Organization: Auspex Systems, Santa Clara
Lines: 16
Nntp-Posting-Host: auspex.auspex.com