Re:JDK 8 Release Notes
by melling on Tuesday March 18, 2014 @03:28PM
(#7424371)
Anyone know what Google is going to do about Java 8 compatibility on Android? Not being able to adopt lambdas on mobile is a bummer.
[ Parent
| on HN ]
Maybe worth a look for you: https://github.com/orfjackal/retrolambda
AFAIK they still don't support all of Java 7 so...
Re:JDK 8 Release Notes
by jug6ernaut on Tuesday March 18, 2014 @04:26PM
(#7424771)
They support "parts" of java7, but not everything.
You can use most of Java 7 but not the new dynamic stuff. I'm told that lamdas will require this feature so we won't be getting that for a while.
This is total speculation, but they're also moving away from the DalvikVM to the new ART runtime. I'm hoping that they're keeping Java 8 in mind as that gets implemented.
They added support for try-with-resources in KitKat, maybe they will continue to add support for new Java features in newer versions?
Apparently Android is not using Java, but something that looks like Java. I bet Google vs. Oracle trial can be attributed to that. :)
Actually they use Java the language, except that the code doesn't run on JVM but on a different VM (Dalvik at this time). Dalvik supports Java 6 and parts from Java 7.
Re:JDK 8 Release Notes
by general_failure on Wednesday March 19, 2014 @05:15AM
(#7427444)
Dalvik is dead. Art is the new king