Transactional events
Journal of Functional Programming · 2008-09 · 18 (5-6) · 649-706
DOI: 10.1017/s0956796808006916 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Functional Programming, online erschienen am 30.10.2008. Verfasst von KEVIN DONNELLY und 1 weiteren Autor:innen. Die Arbeit wurde bisher 17-mal zitiert (Crossref) und nennt 41 Literaturangaben.
Abstract (Originalsprache)
Concurrent programs require high-level abstractions in order to manage complexity and enable compositional reasoning. In this paper, we introduce a novel concurrency abstraction, dubbed transactional events , which combines first-class synchronous message passing events with all-or-nothing transactions. This combination enables simple solutions to interesting problems in concurrent programming. For example, guarded synchronous receive can be implemented as an abstract transactional event, whereas in other languages it requires a non-abstract, non-modular protocol. As another example, three-way rendezvous can be implemented as an abstract transactional event, which is impossible using first-class events alone. Both solutions are easy to code and easy to reason about. The expressive power of transactional events arises from a sequencing combinator whose semantics enforces an all-or-nothing transactional property – either both of the constituent events synchronize in sequence or neither of them synchronizes. This sequencing combinator, along with a non-deterministic choice combinator, gives transactional events the compositional structure of a monad-with-plus. We provide a formal semantics for transactional events and give a detailed account of an implementation.
Zitieren
APA
DONNELLY, K., & FLUET, M. (2008). Transactional events. Journal of Functional Programming, 18(5-6), 649-706. https://doi.org/10.1017/s0956796808006916
Vancouver
DONNELLY K, FLUET M. Transactional events. Journal of Functional Programming. 2008;18(5-6):649-706. doi:10.1017/s0956796808006916
BibTeX
@article{DONNELLY2008,
author = {DONNELLY, KEVIN and FLUET, MATTHEW},
title = {Transactional events},
journal = {Journal of Functional Programming},
year = {2008},
volume = {18},
number = {5-6},
pages = {649--706},
doi = {10.1017/s0956796808006916}
}
EUVIMED