Title :
Mapping software architectures to efficient implementations via partial evaluation
Author :
Marlet, Renaud ; Thibault, Scott ; Consel, Charles
Author_Institution :
IRISA/INRIA, Rennes I Univ., France
Abstract :
Flexibility is recognized as a key feature in structuring software, and many architectures have been designed to that effect. However, they often come with performance and code size overhead, resulting in a flexibility vs. efficiency dilemma. The source of inefficiency in software architectures can be identified in the data and control integration of components, because flexibility is present not only at the design level but also in the implementation. We propose the use of program specialization in software engineering as a systematic way to improve performance and in some cases, to reduce program size. In particular, we advocate the use of partial evaluation, which is an automatic technique to produce efficient, specialized instances of generic programs. We study several representative, flexible mechanisms found in software architectures: selective broadcast, pattern matching, interpreters, layers, and generic libraries. We show how partial evaluation can systematically be applied in order to optimize those mechanisms
Keywords :
partial evaluation (compilers); program compilers; software engineering; software libraries; code size overhead; flexible mechanisms; generic libraries; generic programs; inefficiency; interpreters; layers; partial evaluation; pattern matching; program specialization; selective broadcast; software architectures; software engineering; Broadcasting; Computer architecture; Costs; Pattern matching; Software architecture; Software engineering; Software libraries; Software safety; Software systems; Systems engineering and theory;
Conference_Titel :
Automated Software Engineering, 1997. Proceedings., 12th IEEE International Conference
Conference_Location :
Incline Village, NV
Print_ISBN :
0-8186-7961-1
DOI :
10.1109/ASE.1997.632838