Path: 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 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