Structured programming with limited private types in Ada

Author:

Baker Henry G.1

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篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Access control for private declarations in Ada;Computer Languages;1994-05

2. Linear logic and permutation stacks—the Forth shall be first;ACM SIGARCH Computer Architecture News;1994-03

3. Equal rights for functional objects or, the more things change, the more they are the same;ACM SIGPLAN OOPS Messenger;1993-10

4. Safe and leakproof resource management using Ada83 limited types;ACM SIGAda Ada Letters;1993-09

5. Iterators;ACM SIGPLAN OOPS Messenger;1993-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3