Re:Java 10 – Specification for Value Types
by Matthias247 on Monday June 19, 2017 @03:59AM
(#14585256)
What do you mean with "full type erasure (like C/C++)"? Afaik if you have RTTI enabled you have full type information available at runtime, even for templates - which is the thing that people usually want when talking about reified generics. Is it about C++ without RTTI? Or about the fact that vector<int> is compiled completely separate from a vector<string> (monomorphization)? I think the latter one is an orthogonal issue to whether type information is available at runtime.
[ Parent
| on HN ]
Re:Java 10 – Specification for Value Types
by paulddraper on Monday June 19, 2017 @07:20PM
(#14591148)
You're right, since C++98, it's has RTTI. Subpar example on my part :/