News for hackers. Stuff that matters.
Re:Java 10 – Specification for Value Types by shellac on Monday June 19, 2017 @04:05AM (#14585275)
> I only thought the erasure was bad because of how Java lacked value types (so my list of T will use heap boxes when T is int).

That's covered by a sibling valhalla feature called 'generic specialisation'. See http://openjdk.java.net/jeps/218.

Re:Java 10 – Specification for Value Types by alkonaut on Monday June 19, 2017 @04:11AM (#14585307)
Yeah that looks like an excellent step (and one that should have been taken around the same time as .NET 2 was released). Getting better performance from a MyIntList than from an ArrayList<int> is such a horrible design smell.