user405163
user405163

Reputation: 1219

Does anyone expect the JVM to ever have reified types?

I understand the challenge presented by having reified types for the JVM, well, maybe I don't understand it so much as I've heard repeatedly that the JVM simply has no way to support such a concept without breaking backwards compatability. But that just makes me wonder more, are there plans for reified types in the future or will the JVM simply never have them, like, ever?

Upvotes: 2

Views: 111

Answers (1)

Kirk Woll
Kirk Woll

Reputation: 77546

All reasons given for type-erasure are ridiculous. Nobody expects old JVMs to run code compiled against future JDKs. But you are correct that is the usual explanation. If you want good generics, I suggest a different language that is actually continuing to evolve.

Upvotes: 2

Related Questions