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

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

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

arXiv:1704.03094 (cs)
[提交于 2017年4月11日]

标题:Actors without Borders: Amnesty for Imprisoned State

作者:Elias Castegren, Tobias Wrigstad
查看论文《Actors without Borders: Amnesty for Imprisoned State》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In concurrent systems, some form of synchronisation is typically needed to achieve data-race freedom, which is important for correctness and safety. In actor-based systems, messages are exchanged concurrently but executed sequentially by the receiving actor. By relying on isolation and non-sharing, an actor can access its own state without fear of data-races, and the internal behavior of an actor can be reasoned about sequentially. However, actor isolation is sometimes too strong to express useful patterns. For example, letting the iterator of a data-collection alias the internal structure of the collection allows a more efficient implementation than if each access requires going through the interface of the collection. With full isolation, in order to maintain sequential reasoning the iterator must be made part of the collection, which bloats the interface of the collection and means that a client must have access to the whole data-collection in order to use the iterator. In this paper, we propose a programming language construct that enables a relaxation of isolation but without sacrificing sequential reasoning. We formalise the mechanism in a simple lambda calculus with actors and passive objects, and show how an actor may leak parts of its internal state while ensuring that any interaction with this data is still synchronised.
评论: In Proceedings PLACES 2017, arXiv:1704.02418
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1704.03094 [cs.PL]
  (或者 arXiv:1704.03094v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1704.03094
期刊参考: EPTCS 246, 2017, pp. 10-20
相关 DOI: https://doi.org/10.4204/EPTCS.246.4

提交历史

来自:EPTCS
[v1] 2017年4月11日 星期二 00:43:06 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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