News for hackers. Stuff that matters.
Re:Java 10 – Specification for Value Types by dtech on Monday June 19, 2017 @03:19AM (#14585119)
If you look at the .NET (IL) implementation of generics [1] it relies quite heavily on the VM/Bytecode. Implementing a new collections library (like C#/.NET did) is probably not the cost, afaik the Java team choose type erased generics to prevent breaking binary compatibility between Java 4 and 5 at the VM/bytecode level.

[1]: https://stackoverflow.com/a/5342424/572635

Re:Java 10 – Specification for Value Types by jdmichal on Monday June 19, 2017 @07:29AM (#14586080)
Java could have done the same by implementing erasure as a VM-level construct that's only invoked when a generic class is used in a non-generic manner. That is, using List is equivalent to using List<Object>, which I think even retains semantic equivalence. Bonus points for gating the feature behind pre-5 class versions.