Affiliation:
1. Nimble Computer Corporation, 16231 Meadow Ridge Way, Encino, CA
Abstract
Many traditional styles of programming cannot cope with the limitations of Ada limited private types. We present a style of programming that enables structured programming in Ada with limited private types. The problem of "finalization" is safely and cleanly handled through the use of a generic package which guarantees that a variable of the limited private type will be finalized even in the presence of exceptions.Finalization is often desired in order to perform
automatic garbage collection
, whether by reference counting or by marking. We have proved our structured technique by developing a garbage-collected Lisp system in Ada in which the Lisp values are instances of a limited private type. The Ada code was so highly structured, that it was generated automatically using a simple compiler. The garbage collector in this system was easily and safely implemented, and different garbage collection techniques were tested without affecting user code.
Publisher
Association for Computing Machinery (ACM)
Reference34 articles.
1. Ada83. Reference Manual for the Ada® Programming Language ANSI/MIL-STD-1815A-1983 U.S. Gov't Printing Office Wash. DC 1983. Ada83. Reference Manual for the Ada® Programming Language ANSI/MIL-STD-1815A-1983 U.S. Gov't Printing Office Wash. DC 1983.
2. I-structures: data structures for parallel computing
3. Can programming be liberated from the von Neumann style?
4. List processing in real time on a serial computer
Cited by
10 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献