Skip to Main content Skip to Navigation
New interface
Conference papers

An expressive aspect language for system applications with Arachne

Rémi Douence 1, 2 Thomas Fritz 3, 1 Nicolas Loriant 3, 1 Jean-Marc Menaud 3, 1 Marc Ségura-Devillechaise 3, 1 Mario Südholt 3, 1 
1 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : C applications, in particular those using operating system level services, frequently comprise multiple crosscutting con- cerns: network protocols and security are typical examples of such concerns. While these concerns can partially be addressed during design and implementation of an applica- tion, they frequently become an issue at runtime, e.g., to avoid server downtime. A deployed network protocol might not be sufficiently efficient and may thus need to be re- placed. Buffer overflows might be discovered that imply critical breaches in the security model of an application. A prefetching strategy may be required to enhance perfor- mance. While aspect-oriented programming seems attractive in this context, none of the current aspect systems is expres- sive and efficient enough to address such concerns. This paper presents a new aspect system solving these problems. While efficiency considerations have played an important part in the design of the aspect language, the language al- lows aspects to be expressed more concisely than previous approaches. In particular, it allows aspect programmers to quantify over sequences of execution points as well as over alias accesses. We show how the former can be used to modularize the replacement of network protocols and the latter to prevent buffer overflows. We also present an im- plementation of the language as an extension of Arachne, a dynamic weaver for C applications. Finally, we show eval- uations proving that Arachne is fast enough to extend high performance applications, such as the Squid web cache.
Document type :
Conference papers
Complete list of metadata

Cited literature [33 references]  Display  Hide  Download
Contributor : Nicolas Loriant Connect in order to contact the contributor
Submitted on : Tuesday, December 15, 2009 - 5:53:26 PM
Last modification on : Wednesday, April 27, 2022 - 3:59:52 AM
Long-term archiving on: : Thursday, June 17, 2010 - 11:43:16 PM


Files produced by the author(s)


  • HAL Id : inria-00441355, version 1


Rémi Douence, Thomas Fritz, Nicolas Loriant, Jean-Marc Menaud, Marc Ségura-Devillechaise, et al.. An expressive aspect language for system applications with Arachne. 4th International Conference on Aspect-Oriented Software Development, Mar 2005, Chicago, United States. ⟨inria-00441355⟩



Record views


Files downloads