1999 · 44 citations · 16 references
ComputingComputer ScienceCompilersProgramming LanguagesSystems ProgrammingApplication Programming InterfacesData TypesGeneric ProgrammingReflectionType CheckingType SystemsDynamic Type CheckingPartial EvaluationRuntime SpecializationSerializationType ConstraintsType Theory
Reflection plays a major role in the programming of generic applications. However, it introduces an interpretation layer which is detrimental to performance. A solution consists of relying on partial evaluation to remove this interpretation layer. This paper deals with improving a standard partial evaluator in order to handle the Java reflection API. The improvements basically consist of taking type information into account when distinguishing between static and dynamic data, as well as introducing two new specialization actions: reflection actions. Benchmarks using the serialization framework show the benefits of the approach.
16
Concepts and experiments in computational reflection
Pattie Maes · 1987 · 1K citations
The Computer Science Department.
Hubert Tolman · 1971 · 552 citations
Documenting frameworks using patterns
Ralph E. Johnson · 1992 · 420 citations · Full text
Tutorial notes on partial evaluation
Charles Consel, Olivier Danvy · 1993 · 322 citations · Full text