Article View: comp.lang.misc
Article #3836Re: Pointers
From: Stephen J Bevan
Date: Fri, 13 Nov 1992 09:43
Date: Fri, 13 Nov 1992 09:43
21 lines
1460 bytes
1460 bytes
In article <BxLyv1.CG4@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes: >You might claim that "reference" (or "ref") is just "pointer" spelled >sideways, but there is no "address of" operation, no "indirect" >operation, and hence no EXPLICIT pointer operations at all in the >language. But how does the hardware do it efficiently? Who cares, as long as it does? Probably with pointers, because the hardware only calls by reference. So what? If the compiler does the correct and most efficient thing, why should I care how it does it. If the quality of the compiler is a problem, get another one. If that doesn't work, write in assembler. If the syntax isn't all that great, use a macro processor to create hide some of the worst parts. Note this is not an invitation to complain that you can't find a macro processor that will let you invent your own syntax. bevan
Technical Details
Message-ID:
<BEVAN.92Nov13094329@beluga.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevanReferences:
<BxJzzv.4H7@mentor.cc.purdue.edu> <721539019@sheol.UUCP> <BxLyv1.CG4@mentor.cc.purdue.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevan From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.lang.misc Subject: Re: Pointers Message-ID: <BEVAN.92Nov13094329@beluga.cs.man.ac.uk> Date: 13 Nov 92 09:43:29 GMT References: <BxJzzv.4H7@mentor.cc.purdue.edu> <721539019@sheol.UUCP> <BxLyv1.CG4@mentor.cc.purdue.edu> Sender: newsman@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 21 In-reply-to: hrubin@pop.stat.purdue.edu's message of 12 Nov 92 14:57:00 GMT