Type erasure
In programming languages, type erasure is the process of translating a program from a representation containing type information to one in which some or all of that information is omitted.[src] Operational semantics not requiring programs to be accompanied by types are named type-erasure semantics, in contrast with type-passing semantics.[src] Type-erasure semantics is an abstraction principle, ensuring that the run-time execution of a program doesn't depend on type information.[src] In the context of generic programming, the opposite of type erasure is named reification.[src]
In programming languages, type erasure is the process of translating a program from a representation containing type information to one in which some or all of that information is omitted.[src] Operational semantics not requiring programs to be accompanied by types are named type-erasure semantics, in contrast with type-passing semantics.[src] Type-erasure semantics is an abstraction principle, ensuring that the run-time execution of a program doesn't depend on type information.[src] In the context of generic programming, the opposite of type erasure is named reification.[src] ==See also== Template (C++) Problems with type erasure (in Generics in Java) Monomorphization Type polymorphism ==References==[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Type erasure." encyclopegia.org, 2026, https://encyclopegia.org/wiki/type-erasure. Accessed 29 November 2026.
Chicago
"Type erasure." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/type-erasure.
APA
encyclopegia.org. (2026). Type erasure. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/type-erasure
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON