News for hackers. Stuff that matters.
Re:A categorized list of all Java and JVM features since JDK... by craigacp on Thursday April 01, 2021 @02:02PM (#26663980)
There are JEPs out for parts of it now - Primitive Objects (which is the new name for value types) https://openjdk.java.net/jeps/401 and Unify the basic primitives with objects https://openjdk.java.net/jeps/402
Re:A categorized list of all Java and JVM features since JDK... by Yeroc on Thursday April 01, 2021 @02:57PM (#26664638)
I haven't read up on the details of these but this is a huge step in the right direction if pulled off properly. The dichotomy between primitive and non-primitive types in Java is a real rough spot. I'd have to see how they deal with null values though because the introduction of auto-boxing certainly introduced a new area for NullPointerExceptions to catch the unwary off-guard.
Re:A categorized list of all Java and JVM features since JDK... by craigacp on Thursday April 01, 2021 @04:15PM (#26665476)
There is extensive discussion of that topic in the valhalla-dev and valhalla-spec-experts mailing lists, but I think the details are still being worked out.