Object-oriented programming with protected types in Ada 95

A. Wellings, S. Mitchell, A. Burns
{"title":"Object-oriented programming with protected types in Ada 95","authors":"A. Wellings, S. Mitchell, A. Burns","doi":"10.1109/WPDRTS.1995.470506","DOIUrl":null,"url":null,"abstract":"Integrating concurrent and object-oriented language facilities is currently an active research area. There are a few experimental languages which attempt to combine various models of concurrency within an OOP framework. Most of these suffer from the so called inheritance anomaly where a concurrent object's synchronisation code needs to be modified if the object is extended. Ada 95 has avoided some of these problems by integrating protected types into the model of type extensibility. However this has been at the expense of some loss of generality. This paper considers three paradigms of combining protected types with the type extension. The strengths and weaknesses of each approach is discussed. We conclude that none of the approaches are entirely satisfactory and they either suffer from the inheritance anomaly or preclude further extensions.<<ETX>>","PeriodicalId":438550,"journal":{"name":"Proceedings of Third Workshop on Parallel and Distributed Real-Time Systems","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-04-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of Third Workshop on Parallel and Distributed Real-Time Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WPDRTS.1995.470506","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Integrating concurrent and object-oriented language facilities is currently an active research area. There are a few experimental languages which attempt to combine various models of concurrency within an OOP framework. Most of these suffer from the so called inheritance anomaly where a concurrent object's synchronisation code needs to be modified if the object is extended. Ada 95 has avoided some of these problems by integrating protected types into the model of type extensibility. However this has been at the expense of some loss of generality. This paper considers three paradigms of combining protected types with the type extension. The strengths and weaknesses of each approach is discussed. We conclude that none of the approaches are entirely satisfactory and they either suffer from the inheritance anomaly or preclude further extensions.<>
Ada 95中具有受保护类型的面向对象编程
集成并发和面向对象的语言工具是目前一个活跃的研究领域。有一些实验性的语言试图在OOP框架内组合各种并发模型。其中大多数都存在所谓的继承异常,即如果扩展了并发对象,则需要修改并发对象的同步代码。Ada 95通过将受保护的类型集成到类型可扩展性模型中,避免了其中的一些问题。然而,这是以失去一些一般性为代价的。本文考虑了保护类型与类型扩展相结合的三种范式。讨论了每种方法的优缺点。我们得出的结论是,没有一种方法是完全令人满意的,它们要么遭受遗传异常,要么阻止进一步的扩展
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信