Dynamic AspectC++: Generic Advice at Any Time

Tartler R, Lohmann D, Schröder-Preikschat W (2009)

Publication Type: Conference contribution

Publication year: 2009


Publisher: IOS Press

Edited Volumes: Frontiers in Artificial Intelligence and Applications

City/Town: Amterdam, The Netherlands

Pages Range: 165-186

Conference Proceedings Title: Frontiers in Artificial Intelligence and Applications

Event location: Prag

ISBN: 978-1-60750-049-0

URI: http://www4.informatik.uni-erlangen.de/Publications/2009/tartler_09_somet.pdf

DOI: 10.3233/978-1-60750-049-0-165


In theory, the expressive power of an aspect language should be independent of the aspect deployment approach, whether it is static or dynamic weaving. However, in the area of strictly statically typed and compiled languages, such as C or C++, there seems to be a feedback from the weaver implementation to the language level: dynamic aspect languages offer noticeable fewer features than their static counterparts. Especially means for generic aspect implementations are missing, as they are very difficult to implement in dynamic weavers. This hinders reusability of aspects and the application of AOP to scenarios where both, runtime and compile-time adaptation is required. Our solution to overcome these limitations is based on a novel combination of static and dynamic weaving techniques, which facilitates the support of typical static language features, such as generic advice, in dynamic weavers for compiled languages. In our implementation, the same AspectC++ aspect code can now be woven statically or dynamically into the Squid web proxy, providing flexibility and best of bread for many AOP-based adaptation scenarios. © 2009 IOS Press. All rights reserved.

Authors with CRIS profile

How to cite


Tartler, R., Lohmann, D., & Schröder-Preikschat, W. (2009). Dynamic AspectC++: Generic Advice at Any Time. In Frontiers in Artificial Intelligence and Applications (pp. 165-186). Prag: Amterdam, The Netherlands: IOS Press.


Tartler, Reinhard, Daniel Lohmann, and Wolfgang Schröder-Preikschat. "Dynamic AspectC++: Generic Advice at Any Time." Proceedings of the The 8th International Conference on Software Methodologies, Tools and Techniques, Prag Amterdam, The Netherlands: IOS Press, 2009. 165-186.

BibTeX: Download