logoalt Hacker News

pjmlpyesterday at 7:15 PM3 repliesview on HN

Google basically played a J++ with Android Java, with Kotlin as their .NET/C#.

At least they are forced to partially update Android Java, now Java 17 subset, so that Kotlin can keep up with was is mostly deployed at Maven Central.


Replies

cogman10yesterday at 7:36 PM

Pretty sure they did a J# ;). But I agree that Kotlin is their C#.

The JDK and JVM has advanced so fast while android has been lagging. It's pretty frustrating, especially because google has been so slow to pull in changes from later java versions.

A part of me wishes that android would just dump their hokey dalvik, ART, and other BS and just use the OpenJDK or a fork of the OpenJDK with whatever special sauce they need. A lot of the project Leyden stuff lends itself nicely to maybe someday being able to run real java on android.

Edit: Apparently android is forking OpenJDK, since Android 7.

https://en.wikipedia.org/wiki/Android_Nougat

show 3 replies
xxsyesterday at 7:22 PM

That's a proper late 90s reference, props!

cyberaxyesterday at 7:47 PM

> Google basically played a J++ with Android Java

No, they didn't. Google happily used regular Java until Oracle played Oracle. Then Google stopped updating the supported Java language version and started diversifying away from Java.

show 1 reply