DECLARATIVE SPECIALIZATION OF OBJECT-ORIENTED PROGRAMS

Citation
En. Volanschi et al., DECLARATIVE SPECIALIZATION OF OBJECT-ORIENTED PROGRAMS, ACM SIGPLAN NOTICES, 32(10), 1997, pp. 286-300
Citations number
39
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
Volume
32
Issue
10
Year of publication
1997
Pages
286 - 300
Database
ISI
SICI code
Abstract
Designing and implementing generic software components is encouraged b y languages such as object-oriented ones and commonly advocated in mos t 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 presen ts an approach aimed at reconciling genericity and efficiency. To do s o, we introduce declarations to the Java language to enable a programm er to specify how generic programs should be specialized for a particu lar usage pattern. Our approach has been implemented as a compiler fro m our extended language into standard Java.