home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!neat.cs.toronto.edu!tlai
- Newsgroups: comp.lang.misc
- From: tlai@cs.toronto.edu (Tony Wen Hsun Lai)
- Subject: Re: Accessing the hardware directly (Was: Pointers)
- Message-ID: <92Nov15.195430est.47880@neat.cs.toronto.edu>
- Organization: Department of Computer Science, University of Toronto
- References: <721626972@sheol.UUCP> <BxpsHo.MID@mentor.cc.purdue.edu> <mwm.2n3n@contessa.palo-alto.ca.us> <BxrK6x.A04@mentor.cc.purdue.edu>
- Date: 16 Nov 92 00:54:41 GMT
- Lines: 19
-
- In article <BxrK6x.A04@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
- [stuff deleted]
- >I do not see how any system of references will enable writing
- >
- > *fill(*descriptor)
- >
- >any faster. Nor do I trust compiler writers (or government bureaucrats.)
- >And if the lack of pointers in the languages causes hardware to elide pointers
- >in favor of something clumsy like call_by_name, searching the name file, we
- >all lose. I have also pointed out that I want to use this in cases in which
- >the calling routine does not even know the name. True, you could read the
- >name, but is that any easier than reading the address?
-
- I guess you don't like pass by reference? Pass by reference is almost
- inevitably implemented using pointers, but doesn't involve _explicit_
- pointers set up by the programmer. You may not need or appreciate
- abstractions for your programming, but if you look at the evolution of
- language design, abstractions are important for designing and writing very
- large, maintainable programs.
-