Generative Programming and Active Libraries [chapter]

Krzysztof Czarnecki, Ulrich Eisenecker, Robert Glück, David Vandevoorde, Todd Veldhuizen
2000 Lecture Notes in Computer Science  
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.
doi:10.1007/3-540-39953-4_3 fatcat:t4b6l4wlrfdxbpnoupe7u2evqm