Declarative specialization of object-oriented programs

  • Authors:
  • Eugen N. Volanschi;Charles Consel;Gilles Muller;Crispin Cowan

  • Affiliations:
  • IRISA/INRIA University of Rennes, Campus Beaulieu, F-35042 Rennes Cedex, France;IRISA/INRIA University of Rennes, Campus Beaulieu, F-35042 Rennes Cedex, France;IRISA/INRIA University of Rennes, Campus Beaulieu, F-35042 Rennes Cedex, France;Department of Computer Science and Engineering, Oregon Graduate Institute of Science and Technology

  • Venue:
  • Proceedings of the 12th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Designing and implementing generic software components is encouraged by languages such as object-oriented ones and commonly advocated in most application areas. Generic software components have many advantages among which the most important is reusability. However, it comes at a price: genericity often incurs a loss of efficiency.This paper presents an approach aimed at reconciling genericity and efficiency. To do so, we introduce declarations to the Java language to enable a programmer to specify how generic programs should be specialized for a particular usage pattern. Our approach has been implemented as a compiler from our extended language into standard Java.