Reified type parameters using Java annotations
Published in ACM SIGPLAN Notices • Oct 27, 2013
Authors:,,
Prodromos Gerakios
Aggelos Biboudis
Yannis Smaragdakis
Abstract
Java generics are compiled by-erasure: all clients reuse the same bytecode, with uses of the unknown type erased. C++ templates are compiled by-expansion: each type-instantiation of a template produces a different code definition. The two approaches offer trade-offs on multiple axes. We propose an e...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!