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

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

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

arXiv:1807.10130 (cs)
[提交于 2018年7月26日]

标题:Bestow and Atomic: Concurrent Programming using Isolation, Delegation and Grouping

作者:Elias Castegren, Joel Wallin, Tobias Wrigstad
查看论文《Bestow and Atomic: Concurrent Programming using Isolation, Delegation and Grouping》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Any non-trivial concurrent system warrants synchronisation, regardless of the concurrency model. Actor-based concurrency serialises all computations in an actor through asynchronous message passing. In contrast, lock-based concurrency serialises some computations by following a lock--unlock protocol for accessing certain data. Both systems require sound reasoning about pointers and aliasing to exclude data-races. If actor isolation is broken, so is the single-thread-of-control abstraction. Similarly for locks, if a datum is accessible outside of the scope of the lock, the datum is not governed by the lock. In this paper we discuss how to balance aliasing and synchronisation. In previous work, we defined a type system that guarantees data-race freedom of actor-based concurrency and lock-based concurrency. This paper extends this work by the introduction of two programming constructs; one for decoupling isolation and synchronisation and one for constructing higher-level atomicity guarantees from lower-level synchronisation. We focus predominantly on actors, and in particular the Encore programming language, but our ultimate goal is to define our constructs in such a way that they can be used both with locks and actors, given that combinations of both models occur frequently in actual systems. We discuss the design space, provide several formalisations of different semantics and discuss their properties, and connect them to case studies showing how our proposed constructs can be useful. We also report on an on-going implementation of our proposed constructs in Encore.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1807.10130 [cs.PL]
  (或者 arXiv:1807.10130v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1807.10130
期刊参考: Journal of Logical and Algebraic Methods in Programming, Vol. 100 (2018), 130-151
相关 DOI: https://doi.org/10.1016/j.jlamp.2018.06.007

提交历史

来自:Elias Castegren
[v1] 2018年7月26日 星期四 13:42:38 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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