Chemical foundations of distributed aspects

Abstract : Distributed applications are challenging to program because they have to deal with a plethora of concerns, including synchronization, locality, replica-tion, security and fault tolerance. Aspect-oriented programming (AOP) is a paradigm that promotes better modularity by providing means to encapsulate cross-cutting concerns in entities called aspects. Over the last years, a number of distributed aspect-oriented programming languages and systems have been proposed, illustrating the benefits of AOP in a distributed setting. Chemical calculi are particularly well-suited to formally specify the behavior of concurrent and distributed systems. The join calculus is a functional name-passing calculus, with both distributed and object-oriented extensions. It is used as the basis of concurrency and distribution features in several mainstream languages like C# (Polyphonic C#, now Cω), OCaml (JoCaml), and Scala Joins. Unsurprisingly, practical programming in the join calculus also suffers from modularity issues when dealing with crosscutting concerns. We propose the Aspect Join Calculus, an aspect-oriented and distributed variant of the join calculus that addresses crosscutting and provides a formal foundation for distributed AOP. We develop a minimal aspect join calculus that allows aspects to advise chemical reactions. We show how to deal with causal relations in pointcuts and how to support advanced customizable aspect weaving semantics. We also provide the foun-N. Tabareau
Document type :
Journal articles
Liste complète des métadonnées

Cited literature [23 references]  Display  Hide  Download

https://hal.inria.fr/hal-01811884
Contributor : Nicolas Tabareau <>
Submitted on : Monday, June 11, 2018 - 7:41:41 AM
Last modification on : Tuesday, March 26, 2019 - 9:25:22 AM
Document(s) archivé(s) le : Thursday, September 13, 2018 - 12:21:01 AM

File

main.pdf
Files produced by the author(s)

Identifiers

Citation

Nicolas Tabareau, Éric Tanter. Chemical foundations of distributed aspects. Distributed Computing, Springer Verlag, 2018, pp.1-24. ⟨10.1007/s00446-018-0334-6⟩. ⟨hal-01811884⟩

Share

Metrics

Record views

227

Files downloads

78