arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.12455cs.PLcs.FL
收藏

会话子类型工具(扩展版)

A Session Subtyping Tool (Extended Version)

Lorenzo Bacchiani, Mario Bravetti, Julien Lange, Gianluigi Zavattaro

摘要:

会话类型正变得越来越流行,并已集成到几种主流程序设计语言中。然而,尽管许多程序设计语言考虑异步FIFO通道通信,但会话类型实现中使用的子类型概念是由Gay和Hole为同步通信定义的。这可能是因为有几个异步会话子类型的概念,这些概念通常是不可判定的,并且直到最近才提出了这些子类型的合理(但不完整)算法特征。但是,异步会话子类型的定义和相关算法背后的理论对于非专家来说不容易理解,这一事实也可能阻止进一步的集成。本文的目的,以及其中提出的工具,是使越来越多的知识机构异步会话子类型更容易访问,从而促进其集成在实际应用中的会话类型。

英文摘要:

Session types are becoming popular and have been integrated in several mainstream programming languages. Nevertheless, while many programming languages consider asynchronous fifo channel communication, the notion of subtyping used in session type implementations is the one defined by Gay and Hole for synchronous communication. This might be because there are several notions of asynchronous session subtyping, these notions are usually undecidable, and only recently sound (but not complete) algorithmic characterizations for these subtypings have been proposed. But the fact that the definition of asynchronous session subtyping and the theory behind related algorithms are not easily accessible to non-experts may also prevent further integration. The aim of this paper, and of the tool presented therein, is to make the growing body of knowledge about asynchronous session subtyping more accessible, thus promoting its integration in practical applications of session types.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑