6 ms·
What's the status on Java 8 these days? Did Google ever finish implementing all of it?
by saagarjha 6y ago
What's the status on Java 8 these days? Did Google ever finish implementing all of it?
- pjmlp 6y agoNot at all, as you can see from the release notes. You just need to go checking every now and then the gerrit AOSP checkins, they cherry pick stuff from OpenJDK, every version gets a little piece. Then they use this half baked support to sell Kotlin versus Java, and cleverly never compare Kotlin to the actual Java versions.
- saagarjha 6y agoI'm sure the push for Kotlin probably has something to do with the bitter lawsuit they're currently embroiled in, rather than a particular love for that language.
- etse 6y agoIf they only bought Sun when they had the chance, right?
- vondur 6y agoI still can't understand why they didn't purchase them vs Oracle. Such a waste of tech that ended up under Oracle's purview vs Google.
- lostmsu 6y agoConsidering Google still has not produced a really popular language, and Oracle managed to revive Java, I would not be so sad about that. Of course in hindsight buying Sun would have been better for Google.
- searchableguy 6y ago> Considering Google still has not produced a really popular language What about go-lang and dart?
- javajosh 6y ago"really popular" is subjective, and Go is pretty popular, but it's not anywhere near Java. Dart is not popular.
- pjmlp 6y agoAlso what many keep forgeting is that Oracle was with Sun on Java since the early days, they were even the first RDMS to support Java for stored procedures and designed the Network Computer with JavaOS together with Sun. From my point of view, Google chose not to buy Sun because they hoped that Sun would just burn to the ground and as such, they would get away with the way they approached the whole situation. On the other hand if Google had bought Sun, we would still most likely be stuck with Java 6 and just runtime improvements, if at all. If Go and Dart are any examples to go for.
- sangnoir 6y agoWhy buy the cow when you can get the (goat) milk for free? Before Sun was up for sale, Google chose to base its not-Java™ implementation on Apache Harmony (incubated at IBM). There was no way of knowing the farmer who'd buy the cow would claim goat milk infringes cow-milk protein IP (apologies for stretching the metaphor beyond breaking)
- pjmlp 6y agoMight be, then again, they would have done better that choosing a JVM based language for that. It isn't even as if they don't have their own languages. C++, Dart, Go, just pick one and provide a migration path. Don't sell Java compatibility and promise that even with #KotlinFirst, Java and C++ are still relevant for Android. As they did at Google IO 2019.
- dep_b 6y agoModern Java still isn’t as nice as Kotlin. It’s just not as terrible as the Java version for Android.
- The_Colonel 6y agoJava can't be as nice as Kotlin without breaking a ton of BC. So not gonna happen.
- 2OEH8eoCRo0 6y agoHonest question- why would anyone choose Java when starting a new software project today for any reason?
- zoomablemind 6y agoVery obviously asking, what's your 'recommended' choices and why?
- 2OEH8eoCRo0 6y agoI was asking in general not just about Java in relation to Android. Java has always felt like a clunky and closed language under the dictatorship of Oracle. Why not C++ or Rust? Does Java have any benefits that these two lack? I'm probably ignorant here. I haven't coded in Java for 5+ years.
- pjmlp 6y agoIndeed, had it not been for Oracle's work and Java would have been stuck at version 6, Maxime would never been made into GraalVM, all AOT compilers for Java would still be only available via commercial JDK, (almost) zero pause GC with support for TB heaps, JNI replacement, support for SIMD/AVX512, incoming support for value types and rewrite of C++ stuff into Java would never have happened. People like to talk and bash Oracle, but no one else, including Google bothered with Sun assets, and the community on their own would never made the improvements that Oracle has made in the last 15 years, if the way of Python and Ruby are any indication of how runtime improvements get made.
- vbezhenar 6y agoThere are plenty of Java APIs which won't ever be implemented on Android. For example AWT, Swing. That's why it should not be called Java at all. Sun sued Microsoft for J++ because their implementation was incomplete. Google got away with that. Java is more than language and few classes from the standard library.
- extropy 6y agoYou may be confusing Java language specification with the Java Platform programming API. Language spec has very limited set of packages generally in java.lang. https://docs.oracle.com/javase/specs/jls/se14/html/index.html https://docs.oracle.com/javase/specs/jls/se14/html/index.htm... Platform API is here https://docs.oracle.com/javase/10/docs/api/overview-summary.html https://docs.oracle.com/javase/10/docs/api/overview-summary....