Declarative Specialization of Object-Oriented Programs

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.
Document type :
Reports
Complete list of metadatas

https://hal.inria.fr/inria-00073572
Contributor : Rapport de Recherche Inria <>
Submitted on : Wednesday, May 24, 2006 - 1:12:32 PM
Last modification on : Friday, September 6, 2019 - 3:22:04 PM
Long-term archiving on : Sunday, April 4, 2010 - 10:02:53 PM

Identifiers

  • HAL Id : inria-00073572, version 1

Collections

Citation

Eugen-Nicolae Volanschi, Charles Consel, Gilles Muller, Crispin Cowan. Declarative Specialization of Object-Oriented Programs. [Research Report] RR-3118, INRIA. 1997. ⟨inria-00073572⟩

Share

Metrics

Record views

348

Files downloads

504