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

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

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

arXiv:2509.11901 (cs)
[提交于 2025年9月15日]

标题:Expressive Power of One-Shot Control Operators and Coroutines

作者:Kentaro Kobayashi, Yukiyoshi Kameyama
查看论文《Expressive Power of One-Shot Control Operators and Coroutines》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Control operators, such as exceptions and effect handlers, provide a means of representing computational effects in programs abstractly and modularly. While most theoretical studies have focused on multi-shot control operators, one-shot control operators -- which restrict the use of captured continuations to at most once -- are gaining attention for their balance between expressiveness and efficiency. This study aims to fill the gap. We present a mathematically rigorous comparison of the expressive power among one-shot control operators, including effect handlers, delimited continuations, and even asymmetric coroutines. Following previous studies on multi-shot control operators, we adopt Felleisen's macro-expressiveness as our measure of expressiveness. We verify the folklore that one-shot effect handlers and one-shot delimited-control operators can be macro-expressed by asymmetric coroutines, but not vice versa. We explain why a previous informal argument fails, and how to revise it to make a valid macro-translation.
评论: Full version of the paper accepted at APLAS 2025. Includes appendices with proofs. 59 pages
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2509.11901 [cs.PL]
  (或者 arXiv:2509.11901v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2509.11901

提交历史

来自:Kentaro Kobayashi
[v1] 2025年9月15日 星期一 13:24:41 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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