Chemical foundations of distributed aspects - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Distributed Computing Year : 2019

Chemical foundations of distributed aspects


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
Fichier principal
Vignette du fichier
main.pdf (771.39 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01811884 , version 1 (11-06-2018)



Nicolas Tabareau, Éric Tanter. Chemical foundations of distributed aspects. Distributed Computing, 2019, 32 (3), pp.193-216. ⟨10.1007/s00446-018-0334-6⟩. ⟨hal-01811884⟩
230 View
171 Download



Gmail Facebook X LinkedIn More