News for hackers. Stuff that matters.
Re:Streams in Java 8 by kvb on Monday February 10, 2014 @10:10AM (#7211429)
I see this claim fairly often, but it seems like wishful thinking to me. There's nothing stopping a language targeting .NET from erasing its own generics to `List<object>`, `Map<object>`, `T<object>` if necessary, which would achieve almost exactly what you'd get with Java's erasure. And in the meantime, Java's approach requires any generic class containing arrays to box small value types, wasting large amounts of memory when those arrays are large.

There are no comments on this comment yet.