跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2010.08261 (cs)
[提交于 2020年10月16日 (v1),最后修订于 2022年9月14日 (此版本, v5)]

标题:Relating Functional and Imperative Session Types

作者:Hannes Saffrich, Peter Thiemann
查看论文《Relating Functional and Imperative Session Types》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Imperative session types provide an imperative interface to session-typed communication. In such an interface, channel references are first-class objects with operations that change the typestate of the channel. Compared to functional session type APIs, the program structure is simpler at the surface, but typestate is required to model the current state of communication throughout. Following an early work that explored the imperative approach, a significant body of work on session types has neglected the imperative approach and opts for a functional approach that uses linear types to manage channel references soundly. We demonstrate that the functional approach subsumes the early work on imperative session types by exhibiting a typing and semantics preserving translation into a system of linear functional session types. We further show that the untyped backwards translation from the functional to the imperative calculus is semantics preserving. We restrict the type system of the functional calculus such that the backwards translation becomes type preserving. Thus, we precisely capture the difference in expressiveness of the two calculi and conclude that the lack of expressiveness in the imperative calculus is largely due to restrictions imposed by its type system.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2010.08261 [cs.PL]
  (或者 arXiv:2010.08261v5 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2010.08261
期刊参考: Logical Methods in Computer Science, Volume 18, Issue 3 (September 15, 2022) lmcs:8815
相关 DOI: https://doi.org/10.46298/lmcs-18(3:33)2022

提交历史

来自:Peter Thiemann
[v1] 2020年10月16日 星期五 09:28:57 UTC
[v3] 2022年7月28日 星期四 12:35:19 UTC
[v4] 2022年8月30日 星期二 13:54:56 UTC
[v5] 2022年9月14日 星期三 12:30:22 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-09
切换浏览方式为:
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站