【24h】

Reasoning about Object Structures Using Ownership

机译:使用所有权的对象结构的推理

获取原文

摘要

Many well-established concepts of object-oriented programming work for individual objects, but do not support object structures. The development of a verifying compiler requires enhancements of programming theory to cope with this deficiency. In this paper, we support this position by showing that classical specification and verification techniques support invariants for individual objects whose fields are primitive values, but are unsound for invariants involving more complex object structures. We have developed an ownership model, which allows one to structure the object store and to restrict reference passing and the operations that can be performed on references. We use this model to generalize classical object invariants to cover such object structures. We summarize the state of our work and identify open research challenges.
机译:许多成熟的面向对象编程工作的概念,为单个对象,但不支持对象结构。验证编译器的开发需要增强编程理论来应对这种缺陷。在本文中,我们通过显示Classical规范和验证技术支持该字段是原始值的单个对象的不变性,而是对于涉及更复杂的对象结构的不变性,我们的支持不变。我们开发了一个所有权模型,它允许一个构建对象存储并限制参考传递和可以对参考执行的操作。我们使用此模型来概括古典对象不变性以涵盖此类对象结构。我们总结了我们的工作状态,并确定了开放的研究挑战。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号