计算机科学 > 程序设计语言
[提交于 2023年4月13日]
标题:Communicating Actor Automata -- Modelling Erlang Processes as Communicating Machines
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:Brand and Zafiropulo's notion of Communicating Finite-State Machines (CFSMs) provides a succinct and powerful model of message-passing concurrency, based around channels. However, a major variant of message-passing concurrency is not readily captured by CFSMs: the actor model. In this work, we define a variant of CFSMs, called Communicating Actor Automata, to capture the actor model of concurrency as provided by Erlang: with mailboxes, from which messages are received according to repeated application of pattern matching. Furthermore, this variant of CFSMs supports dynamic process topologies, capturing common programming idioms in the context of actor-based message-passing concurrency. This gives a new basis for modelling, specifying, and verifying Erlang programs. We also consider a class of CAAs that give rise to freedom from race conditions.
提交历史
来自:EPTCS[v1] 2023年4月13日 星期四 11:01:39 UTC