Actors With Multi-Headed Message Receive Patterns

COORDINATION'08: Proceedings of the 10th international conference on Coordination models and languages(2008)

引用 17|浏览19
暂无评分
摘要
The actor model provides high-level concurrency abstractions to coordinate simultaneous computations by message passing. Languages implementing the actor model such as Erlang commonly only support single-headed pattern matching over received messages. We propose and design an extension of Erlang style actors with receive clauses containing multi-headed message patterns. Patterns may be non-linear and constrained by guards. We provide a number of examples to show the usefulness of the extension. We also explore the design space for multi-headed message matching semantics, for example first-match and rule priority-match semantics. The various semantics are inspired by the multi-set constraint matching semantics found in Constraint Handling Rules. This provides us with a formal model to study actors with multi-headed message receive patterns. The system can be implemented efficiently and we have built a prototype as a library-extension to Haskell.
更多
查看译文
关键词
actor model,message passing,multi-headed message,multi-headed message pattern,multiheaded message,rule priority-match semantics,various semantics,formal model,Erlang style actor,design space
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要