News for hackers. Stuff that matters.
Re:Kotlin: A New Hope in a Java 6 Wasteland by bitmapbrother on Monday September 28, 2015 @02:41PM (#10292153)
Out of curiosity, why would the Android ART VM care about what language version, or language for that matter, was used to create the DEX byte code? As long as the DEX byte code generator is able to convert the original byte code to DEX byte code isn't that all that really matters?
Re:Kotlin: A New Hope in a Java 6 Wasteland by izacus on Monday September 28, 2015 @05:19PM (#10293280)
Yes, but the issue with Java 8 is that it requires new bytecode commands (mostly related to handling lambdas and method references) and is thus not compatible with older JVMs.

There is a project that patches Java 8 bytecode and replaces all lambda invocations and method references with anonymous class instantiations. It's called RetroLambda and lets Android devs use Java 8 lambdas in their code. It does open a whole new pit of issues though.