Projecten per jaar
Samenvatting
Code reusability is the cornerstone of object-oriented programming. Reuse mechanisms such as inheritance and trait composition lay at the basis of a whole range of software engineering practices with the goal to improve software quality and reliability. In this paper we investigate code reuse mechanisms for actors, and find that it is currently difficult to specify the behaviour of an actor out of reusable parts. We discuss different kinds of code reuse mechanisms in different kinds of actor model, and we motivate why these mechanisms are currently unsatisfactory. As a possible solution we define a new reuse mechanism based on delegation-based trait composition. In a nutshell, the mechanism allows programmers to compose the behaviour of actors, and every time a compound behaviour is spawned into an actor, it will cause multiple actors to be spawned (one for each independent behaviour). Some messages will be automatically delegated to the actor that implements the desired functionality. We provide an implementation of this model in a prototype Active Object language called Stella, and we formalise a subset of Stella using a small-step operational semantics to unambiguously define the different steps involved in our reuse mechanism.
Originele taal-2 | English |
---|---|
Titel | Distributed Applications and Interoperable Systems |
Redacteuren | José Pereira, Laura Ricci |
Uitgeverij | Springer Cham |
Pagina's | 57-73 |
Aantal pagina's | 17 |
ISBN van elektronische versie | 978-3-030-22496-7 |
ISBN van geprinte versie | 978-3-030-22495-0 |
DOI's | |
Status | Published - 6 jun. 2019 |
Evenement | IFIP WG 6.1 International Conference on Distributed Applications and Interoperable Systems (DAIS 2019) - Technical University of Denmark, Kongens Lyngby, Denmark Duur: 17 jun. 2019 → 21 jun. 2019 Congresnummer: 19 https://www.discotec.org/2019/dais |
Publicatie series
Naam | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 11534 LNCS |
ISSN van geprinte versie | 0302-9743 |
ISSN van elektronische versie | 1611-3349 |
Conference
Conference | IFIP WG 6.1 International Conference on Distributed Applications and Interoperable Systems (DAIS 2019) |
---|---|
Verkorte titel | DAIS |
Land/Regio | Denmark |
Stad | Kongens Lyngby |
Periode | 17/06/19 → 21/06/19 |
Internet adres |
Vingerafdruk
Duik in de onderzoeksthema's van 'Composable Actor Behaviour'. Samen vormen ze een unieke vingerafdruk.Projecten
- 1 Actief
-
SRP52: SRP-Onderzoekszwaartepunt: Foundations for Reliable Multi-Paradigm Network-Centric Programming
De Meuter, W., De Roover, C. & Gonzalez Boix, E.
1/03/19 → 29/02/28
Project: Fundamenteel