Preserving Separation of Concerns through Compilation

PDF Download Download Paper


Today’s aspect-oriented programming (AOP) languages provide software engineers with new possibilities for keeping conceptual concerns separate at the source code level. For a number of reasons, aspect weavers sacrifice this separation in transforming source to object code (and thus the very term weaving). In this paper, we argue that sacrificing modularity has significant costs, especially in terms of the speed of incremental compilation and in testing. We argue that design modularity can be preserved through the mapping to object code, and that preserving it can have significant benefits in these dimensions. We present and evaluate a mechanism for preserving design modularity in object code, showing that doing so has potentially significant benefits.

Bib Info

  title={Preserving separation of concerns through compilation},
  author={Rajan, Hridesh and Dyer, Robert and Hanna, Youssef Wasfy and Narayanappa, Harish},
  institution={Iowa State U., Computer Sc.},
  location={Ames, Iowa, USA}

Other Info

A previous version of this paper appeared as TR-214.