2 ms·
Is newer Android fully JVM-8 compatible? It'd be great to be able to start using Scala 2.12 even if it means I have to restrict to new devices only.
by lmm 8y ago
Is newer Android fully JVM-8 compatible? It'd be great to be able to start using Scala 2.12 even if it means I have to restrict to new devices only.
- pjmlp 8y agoNot really, a lot of desugering still takes place into DEX bytecodes. Stuff like lambdas take extra memory, because they convert into anonymous innerclasses instead of invokedynamic.
- lmm 8y agoAs far as I'm concerned that's an implementation detail. If I can take arbitrary JVM8 code and run it and expect a correct result then that's a huge improvement for my purposes.