3 ms·
Is there an update somewhere that I've missed? I keep looking for updates and haven't seen them. (And yes, I know it's a huge effort, I was definitely not tryi
by bluejekyll 6y ago
Is there an update somewhere that I've missed? I keep looking for updates and haven't seen them.
(And yes, I know it's a huge effort, I was definitely not trying to say that it should be an easy change to get into the language)
- craigacp 6y agoThere are JEPs out for parts of it now - Primitive Objects (which is the new name for value types) https://openjdk.java.net/jeps/401 https://openjdk.java.net/jeps/401 and Unify the basic primitives with objects https://openjdk.java.net/jeps/402 https://openjdk.java.net/jeps/402
- Yeroc 6y agoI 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.
- craigacp 6y agoThere 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.