News for hackers. Stuff that matters.
Re:Kotlin is now Google’s preferred language for Android app... by vitoreiji on Wednesday May 08, 2019 @04:09AM (#19856823)
I bet they have plans to make a different VM for Kotlin and move away from JVM, should be coming in the next couple of years.
Re:Kotlin is now Google’s preferred language for Android app... by untog on Wednesday May 08, 2019 @05:15AM (#19857153)
Kotlin already has one in the form of Kotlin Native. So far no involvement from Google on that front, but things could change.
Re:Kotlin is now Google’s preferred language for Android app... by JulianMorrison on Wednesday May 08, 2019 @05:18AM (#19857164)
Kotlin already has a native compiler (targeting iOS and so forth).
Re:Kotlin is now Google’s preferred language for Android app... by Leace on Wednesday May 08, 2019 @05:13AM (#19857144)
Yes, especially that Kotlin already targets various architectures.
Re:Kotlin is now Google’s preferred language for Android app... by ForHackernews on Wednesday May 08, 2019 @05:08AM (#19857111)
Why bother? Being on the JVM has many advantages and building some new VM (and compiler?) would be extra hassle and expense for not much gain.
Re:Kotlin is now Google’s preferred language for Android app... by PunchTornado on Wednesday May 08, 2019 @05:22AM (#19857189)
moving away from oracle is `not much gain`?
Re:Kotlin is now Google’s preferred language for Android app... by ForHackernews on Wednesday May 08, 2019 @05:36AM (#19857265)
There's already at least two big-name alternatives to Oracle Java: The OpenJDK and Amazon's Corretto. If you're suggesting Google might make their own "supported" OpenJDK build, then sure, that might be worth something. That's different than moving away from JVM entirely to a different compiler target, as suggested by the parent comment.
Re:Kotlin is now Google’s preferred language for Android app... by pjmlp on Wednesday May 08, 2019 @04:51PM (#19862789)
OpenJDK is like 90% developed by Oracle with smaller contributions from other partners in the Java community, including the JEPs that bring Java forward.
Re:Kotlin is now Google’s preferred language for Android app... by liopleurodon on Wednesday May 08, 2019 @05:24AM (#19857196)
Oracle v Google
Re:Kotlin is now Google’s preferred language for Android app... by curt15 on Wednesday May 08, 2019 @05:58AM (#19857368)
Android has been using OpenJDK for a while with no problems.
Re:Kotlin is now Google’s preferred language for Android app... by nl on Wednesday May 08, 2019 @06:17AM (#19857461)
Re:Kotlin is now Google’s preferred language for Android app... by yorwba on Wednesday May 08, 2019 @06:23AM (#19857499)
As far as I can tell, Oracle vs Google was due to Google not using OpenJDK, but their own implementation.
Re:Kotlin is now Google’s preferred language for Android app... by dragandj on Wednesday May 08, 2019 @07:35AM (#19857845)
Moreover, their implementation didn’t work on standard compliand JVMs, and was called Java, despite being only similar to Java. Even Microsoft’s J++ worked on different JVMs if you didn’d use Windows specific classes...