...
首页> 外文期刊>The Journal of logic and algebraic programming >Behavioral interface description of an object-oriented language with futures and promises
【24h】

Behavioral interface description of an object-oriented language with futures and promises

机译:具有期货和承诺的面向对象语言的行为接口描述

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

This paper formalizes the observable interface behavior of a concurrent, object-oriented language with futures and promises. The calculus captures the core of Creol, a language, featuring in particular asynchronous method calls and, since recently, first-class futures.rnThe focus of the paper are open systems and we formally characterize their behavior in terms of interactions at the interface between the program and its environment. The behavior is given by transitions between typing judgments, where the absent environment is represented abstractly by an assumption context. A particular challenge is the safe treatment of promises: the erroneous situation that a promise is fulfilled twice, i.e., bound to code twice, is prevented by a resource aware type system, enforcing linear use of the write-permission to a promise. We show subject reduction and the soundness of the abstract interface description.
机译:本文对带有期货和承诺的并发,面向对象语言的可观察接口行为进行了形式化。演算捕获了Creol的核心语言,该语言具有特别的异步方法调用和自最近以来的一流期货。本文的重点是开放系统,我们通过在系统之间的交互作用来正式表征其行为。程序及其环境。该行为由类型判断之间的过渡给出,其中,缺少的环境由假设上下文抽象表示。一个特殊的挑战是对诺言的安全处理:通过资源感知类型系统防止对诺言执行两次(即绑定两次代码)的错误情况,从而强制对诺言线性使用写权限。我们展示了主题缩减和抽象界面描述的合理性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号