Affiliation:
1. Computer Science Dept., UCLA, Los Angeles, California
2. Depto. de Informática, Pontlfícia Universidade, Catollca, Rio de Janeiro, RJ, BRASIL
Abstract
At present, there is considerable debate whether, in light of what is being learned about construction of reliable software, pointers are desirable in high level programming languages. One side [Hoa73, Hoa75] maintains that
1) Pointers are like the goto in that they are an invitation to create spaghetti in one's program [Hoa75].
2) In some languages, e.g., PL/1 [Wlk71], the use of pointers can lead to serious type violations, for example, the compiler believes that a given pointer will be pointing to an integer when in fact, it will be pointing to a real.
3) The indiscriminate use of pointers may confound the attempts of hardware pipelining and use of cache memory to speed up computations [Hoa73, Hoa75].
4) A pointer may be left dangling, that is, a pointer may point to a variable or other datum which has been deallocated [Bry71, CDMPS73, Bry74].
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Bibliography;Bibliography on Abstract Data Types;1983
2. Some issues in data types and type checking;Design and Implementation of Programming Languages