Re:Kotlin: A New Hope in a Java 6 Wasteland
by chrisseaton on Monday September 28, 2015 @11:26AM
(#10290925)
Nobody has made Android support Kotlin. Kotlin compiles to Java 6 bytecode. If someone made a Java 8 source or bytecode to Java 6 bytecode compiler, including support for the changes in the standard library, that would also work, but nobody has done that, so it doesn't.
[ Parent
| on HN ]
Re:Kotlin: A New Hope in a Java 6 Wasteland
by nileshk on Monday September 28, 2015 @12:15PM
(#10291192)
I'm not sure how much success Android developers are having with this, but Retrolambda combined with streamsupport (java.util.stream) and ThreeTen (java.time) makes Java 8 on Android possible:
https://github.com/orfjackal/retrolambda
Sounds like there might be some things that are missing or incomplete, but having lambdas and the Stream API would be a huge step forward.