Programming with event loops and control loops – From actors to agents
Event loops are a main control architecture to implement actors. In this paper we first analyse the impact that this choice has on the design of actor-based concurrent programs. Then, we discuss control loops as the main architecture adopted to implement agents, and we frame them as an extension of...
Saved in:
| Published in: | Computer languages, systems & structures Vol. 45; pp. 80 - 104 |
|---|---|
| Main Author: | |
| Format: | Journal Article |
| Language: | English |
| Published: |
Elsevier Ltd
01.04.2016
|
| Subjects: | |
| ISSN: | 1477-8424, 1873-6866 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | Event loops are a main control architecture to implement actors. In this paper we first analyse the impact that this choice has on the design of actor-based concurrent programs. Then, we discuss control loops as the main architecture adopted to implement agents, and we frame them as an extension of event loops effective to improve the programming of autonomous components that need to integrate both reactive and proactive behaviors, in a modular way.
•The event loop architecture has a strong impact on actor programming.•Main weaknesses concern asynchronous spaghetti and fragmentation.•Control loops adopted in agent programming can be framed as an extension.•It leads to a more procedural structure of programs yet preserving reactivity.•It allows us to improve modularity, encapsulation and abstraction. |
|---|---|
| Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 23 |
| ISSN: | 1477-8424 1873-6866 |
| DOI: | 10.1016/j.cl.2015.12.003 |