Re:Virtual Threads Arrive in JDK 21, Ushering a New Era of C...
by kaba0 on Wednesday April 12, 2023 @06:01AM
(#35537282)
It’s leaky due to reflection, but type erasure is not a problem in itself. .NET did away with type erasure, but it had a cost in terms of language ecosystem of the platform - not erasing List<A> into List will bake the variance of List into the runtime, and thus other languages have to use the same model.
[ Parent
| on HN ]
There are no comments on this comment yet.