...
首页> 外文期刊>Logical Methods in Computer Science >A Sound Algorithm for Asynchronous Session Subtyping and its Implementation
【24h】

A Sound Algorithm for Asynchronous Session Subtyping and its Implementation

机译:异步会话亚型的声音算法及其实现

获取原文
           

摘要

Session types, types for structuring communication between endpoints indistributed systems, are recently being integrated into mainstream programminglanguages. In practice, a very important notion for dealing with such types isthat of subtyping, since it allows for typing larger classes of system, where aprogram has not precisely the expected behaviour but a similar one.Unfortunately, recent work has shown that subtyping for session types in anasynchronous setting is undecidable. To cope with this negative result, theonly approaches we are aware of either restrict the syntax of session types orlimit communication (by considering forms of bounded asynchrony). Bothapproaches are too restrictive in practice, hence we proceed differently bypresenting an algorithm for checking subtyping which is sound, but not complete(in some cases it terminates without returning a decisive verdict). Thealgorithm is based on a tree representation of the coinductive definition ofasynchronous subtyping; this tree could be infinite, and the algorithm checksfor the presence of finite witnesses of infinite successful subtrees.Furthermore, we provide a tool that implements our algorithm. We use this toolto test our algorithm on many examples that cannot be managed with the previousapproaches, and to provide an empirical evaluation of the time and space costof the algorithm.
机译:会话类型,用于在端点之间的结构配置的类型,终端点识别系统之间的通信,最近被集成到主流编程范围内。在实践中,对处理亚型的这种类型的非常重要的概念,因为它允许键入较大的系统,其中Aprogram在其中不准确的行为,而是类似的。幸福的工作表明,会话类型的亚型在互联网上设置是不可识别的。为了应对这种负面结果,我们意识到我们知道的是限制会话类型的语法Orlimit通信(通过考虑界定的形式)。 HospApproaches在实践中过于严格,因此我们对PerseNting算法进行了不同的方式来检查声音的亚型,但不完整(在某些情况下,它在不返回决定性判决的情况下终止)。施泰算法基于同步亚型的调控定义的树形表示;这棵树可能是无限的,并且算法检查无限成功子树的有限证人的存在.Furtherator,我们提供了一种实现我们算法的工具。我们使用此工具测试我们的算法在无法使用往前手的许多例子上测试,并提供对算法的时间和空间成本的实证评估。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号