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. Operational semantics not requiring programs to be accompanied by types are named type-erasure semantics, in contrast with type-passing semantics. Type-erasure semantics is an abstraction principle, ensuring that the run-time execution of a program doesn't depend on type information. In the context of generic programming, the opposite of type erasure is named reification. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
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. Operational semantics not requiring programs to be accompanied by types are named type-erasure semantics, in contrast with type-passing semantics. Type-erasure semantics is an abstraction principle, ensuring that the run-time execution of a program doesn't depend on type information. In the context of generic programming, the opposite of type erasure is named reification. ==See also== Template (C++) Problems with type erasure (in Generics in Java) Monomorphization Type polymorphism ==References==
Cite this
"Type erasure". 1785501790. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1367030161 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy