Generic Programming

Volume 1766 of the series Lecture Notes in Computer Science pp 25-39


Generative Programming and Active Libraries

Extended Abstract
  • Krzysztof CzarneckiAffiliated withResearch and Technology, DaimlerChrysler AG
  • , Ulrich EiseneckerAffiliated withFachhochschule Heidelberg
  • , Robert GlückAffiliated withDept. of Computer Science, University of Copenhagen
  • , David VandevoordeAffiliated withEdison Design Group
  • , Todd VeldhuizenAffiliated withComputer Science Dept., Indiana University

* Final gross prices may vary according to local VAT.

Get Access


We describe generative programming, an approach to generating customized programming components or systems, and active libraries, which are based on this approach. In contrast to conventional libraries, active libraries may contain metaprograms that implement domain-specific code generation, optimizations, debugging, profiling and testing. Several working examples (Blitz++, GMCL, Xroma) are presented to illustrate the potential of active libraries. We discuss relevant implementation technologies.