Generative Programming and Active Libraries

TitleGenerative Programming and Active Libraries
Publication TypeBook Chapter
Year of Publication2000
AuthorsCzarnecki, K., U. Eisenecker, R. Gluck, D. Vandevoorde, and T. Veldhuizen
EditorJazayeri, M., R. G. K. Loos, and D. R. Musser
Book TitleGeneric Programming
Series TitleLecture Notes in Computer Science
Pagination25 - 39
CityBerlin, Heidelberg
ISBN Number978-3-540-41090-4

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.