🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #1757

Re: C's sins of commission

#1757
From: Jim Giles
Date: Thu, 18 Oct 1990 21:38
12 lines
966 bytes
From article <=GH6UHD@xds13.ferranti.com>, by peter@ficc.ferranti.com (Peter da Silva):
> [... description of a particular structure ...]
> ...each of which node-ids is a pointer, no? It's not a machine address, but
> its an identifier that can reference any arbitrary node... it's a pointer
> into a bounded collection of objects, but you still have to worry about
> aliasing within that collection. The problem of aliasing is alleviated,
> but not solved.

Yes, but this alleviation is important.  That's why the C habit of
changing arrays to pointers in procedure calls is a _really_ bad idea.

J. Giles
Technical Details
Message-ID: <66067@lanl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!jlg
References: <=GH6UHD@xds13.ferranti.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!jlg
From: jlg@lanl.gov (Jim Giles)
Newsgroups: comp.lang.misc
Subject: Re: C's sins of commission
Message-ID: <66067@lanl.gov>
Date: 18 Oct 90 21:38:57 GMT
References: <=GH6UHD@xds13.ferranti.com>
Organization: Los Alamos Natl Lab, Los Alamos, N.M.
Lines: 12