News for hackers. Stuff that matters.
Re:Java 10 – Specification for Value Types by jdmichal on Monday June 19, 2017 @07:16AM (#14586028)
Your comment is a bit misleading, because .NET has always only instantiated one version of a generic for all reference types. Even the article you posted backs this up, though I'm sure I've read the same on MSDN.

"... instantiations over reference types are shared among all reference type instantiations for that generic type/method, whereas instantiations over value types get their own full copy of the code."

Just about the only thing it could do better is to reuse the same instantiation for all value types of the same size.

There are no comments on this comment yet.