2009 · 43 citations · 7 references
ComputingComputer ScienceCompilersOperating SystemsProgramming LanguagesAbstract Syntax TreesCode GenerationCompiler ConstructionGeneric ProgrammingType CheckingType SystemsCode Size OptimizationGeneric TypesPolymorphic CodePolymorphic Type SystemsPolymorphic TypesSeparate CompilationSeparate Compilation SupportType Polymorphism
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.
7
Making the future safe for the past
Gilad Bracha, Martin Odersky, David Stoutamire et al. · 1998 · 503 citations · Full text
Compiling polymorphism using intensional type analysis
Robert Harper, Greg Morrisett · 1995 · 298 citations · Full text
Joseph A. Bank, Andrew C. Myers, Barbara Liskov · 1997 · 251 citations
Design and implementation of generics for the .NET Common language runtime
Andrew Kennedy, Don Syme · 2001 · 199 citations