Mixing Metaphors: Actors as Channels and Channels as Actors (Extended Version)
November 18, 2016 Β· Declared Dead Β· π European Conference on Object-Oriented Programming
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Simon Fowler, Sam Lindley, Philip Wadler
arXiv ID
1611.06276
Category
cs.PL: Programming Languages
Citations
18
Venue
European Conference on Object-Oriented Programming
Last Checked
3 months ago
Abstract
Channel- and actor-based programming languages are both used in practice, but the two are often confused. Languages such as Go provide anonymous processes which communicate using buffers or rendezvous points---known as channels---while languages such as Erlang provide addressable processes---known as actors---each with a single incoming message queue. The lack of a common representation makes it difficult to reason about translations that exist in the folklore. We define a calculus $Ξ»_{\textrm{ch}}$ for typed asynchronous channels, and a calculus $Ξ»_{\textrm{act}}$ for typed actors. We define translations from $Ξ»_{\textrm{act}}$ into $Ξ»_{\textrm{ch}}$ and $Ξ»_{\textrm{ch}}$ into $Ξ»_{\textrm{act}}$ and prove that both are type- and semantics-preserving. We show that our approach accounts for synchronisation and selective receive in actor systems and discuss future extensions to support guarded choice and behavioural types.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Programming Languages
R.I.P.
π»
Ghosted
R.I.P.
π»
Ghosted
Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractions
R.I.P.
π»
Ghosted
Glow: Graph Lowering Compiler Techniques for Neural Networks
R.I.P.
π»
Ghosted
Learnable Programming: Blocks and Beyond
R.I.P.
π»
Ghosted
Scenic: A Language for Scenario Specification and Scene Generation
R.I.P.
π»
Ghosted
Vandal: A Scalable Security Analysis Framework for Smart Contracts
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted