Compiling generics through user-directed type specialization

@inproceedings{Dragos2009CompilingGT,
  title={Compiling generics through user-directed type specialization},
  author={Iulian Dragos and Martin Odersky},
  booktitle={ICOOOLPS@ECOOP},
  year={2009}
}
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. 
Highly Cited
This paper has 42 citations. REVIEW CITATIONS

References

Publications referenced by this paper.
Showing 1-4 of 4 references

The C++

  • S. Bjarne
  • Programming Language. Addison-Wesley,
  • 1987
Highly Influential
6 Excerpts

Similar Papers

Loading similar papers…