3 ms·
Is this usable in Android?
by darkstalker 14y ago
Is this usable in Android?
- myko 14y agoI don't think so. It will be awhile before Dalvik supports the new bytecodes in Java 8. I'd like to know how long though. edit: or new bytecodes from Java 7 which will be required for Java 8 features
- magicSystem 14y agoThere's no new bytecodes in Java 8. Lambdas will compile down to invokedynamic calls (jdk7)
- hackerpolicy 14y agoWhich will be fine once Android starts supporting Java 7.
- amalter 14y agoYou can compile invokedynamic into reflection pretty easily. Obviously you lose the method call optimization, but you can keep the syntatic sugar. I would be very surprised if the backports folks didn't offer this within a few months.