2002 · 21 citations · 30 references
ComputingComputer ScienceDesign AutomationProgramming LanguagesSoftware EngineeringComponent-based Software EngineeringGeneric ProgrammingInterpreter DesignSoftware ArchitectureSoftware DesignAbstraction MechanismsBroadcastCode Size OptimizationLibrary SpecializationPartial EvaluationPattern MatchingProgram OptimizationSoftware Architecture Evaluation
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.
30
Dawson Engler, M. Frans Kaashoek, James W. O’Toole · 1995 · 1.1K citations
Extensibility safety and performance in the SPIN operating system
Brian N. Bershad, Stefan Savage, Przemysław Pardyak et al. · 1995 · 955 citations
Program Analysis and Specialization for the C Programming Language
Lars Ole Andersen, Peter Lee · 2005 · 920 citations
Deforestation: transforming programs to eliminate trees
Philip Wadler · Theoretical Computer Science · 1990 · 707 citations
Scripting: higher level programming for the 21st Century
John K. Ousterhout · Computer · 1998 · 650 citations