Work

Compiling generics through user-directed type specialization

Year: 2009
Type: conference-paper
Abstract: Compilation of polymorphic code through type erasure gives compact code but performance on primitive types is significantly hurt. Full specialization gives good performance, but at the cost of increased code size and compilation time. Instead we propose a mixed approach, which allows the programmer to decide what code to specialize. Our approach supports separate compilation, allows mixing of specialized and generic code, and gives very good results in practice.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W2119976524
FWCI: 1.954
Cites: 9
Cited by: 56
Related to: 10