arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1704.07004cs.PLcs.DC
收藏

相关会话类型

Dependent Session Types

Hanwen Wu, Hongwei Xi

摘要:

会话类型提供了一种基于类型的规程,用于在分布式编程中实施通信协议。我们之前已经在多线程$λ$ -线性类型演算的设置中形式化了简单的会话类型。在这项工作中,我们建立在我们以前的工作,提出了一种形式的依赖会话类型(的DML风格)。我们制定的类型系统提供了线性和对偶保证,不需要任何运行时检查或特殊编码。我们制定的依赖会话类型是第一次,它是特别适合于实际的实施。作为一个例子,我们描述了一个用ATS编写的编译到Erlang/Elixir后端的实现。

英文摘要:

Session types offer a type-based discipline for enforcing communication protocols in distributed programming. We have previously formalized simple session types in the setting of multi-threaded $λ$-calculus with linear types. In this work, we build upon our earlier work by presenting a form of dependent session types (of DML-style). The type system we formulate provides linearity and duality guarantees with no need for any runtime checks or special encodings. Our formulation of dependent session types is the first of its kind, and it is particularly suitable for practical implementation. As an example, we describe one implementation written in ATS that compiles to an Erlang/Elixir back-end.

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

↑