News for hackers. Stuff that matters.
Re:Reasons to upgrade from Java 8 by rattray on Thursday April 15, 2021 @12:19PM (#26822454)
Yeah, it's really disappointing to hear that the community isn't upgrading very quickly because the language is starting to look a lot nicer.

I investigated creating a library for Java recently, and could have made a pretty decent API for Java 9+, but with so many people on Java 8 and below, it might not have been worth it.

Re:Reasons to upgrade from Java 8 by splix on Thursday April 15, 2021 @12:42PM (#26822843)
I think one of the limiting factors is Android, which is still stuck with Java 8. So if you're developing a library, which in theory may be used in Android app by others, you have to stick to Java 8 to make it compatible.
Re:Reasons to upgrade from Java 8 by mikemybytes on Thursday April 15, 2021 @04:15PM (#26825589)
I guess that's why Kotlin became so popular in the Android world - all the new & shiny features are present but you still can target older bytecode versions
Re:Reasons to upgrade from Java 8 by pjmlp on Friday April 16, 2021 @02:18AM (#26830224)
Google is the one to blame, they let Android Java stagnate on purpose, after all it helps to sell Kotlin.
Re:Reasons to upgrade from Java 8 by shakow on Friday April 16, 2021 @06:15AM (#26831955)
Kotlin is free though, and a JetBrains product, not a Google one.
Re:Reasons to upgrade from Java 8 by pjmlp on Friday April 16, 2021 @06:27AM (#26832054)
Kotlin is married to Android, it doesn't go anywhere unless JetBrains settles for a divorce.
Re:Reasons to upgrade from Java 8 by sudhirj on Friday April 16, 2021 @10:15AM (#26834137)
Actually, they've done a pretty decent job on multiplatforming it. Can use it for servers, compile to JS, even compile through LLVM and target iOS if that's your jam. Android is the killer use case, of course, but I think it'll survive losing preferred status on Android.
Re:Reasons to upgrade from Java 8 by pjmlp on Saturday April 17, 2021 @04:06AM (#26842495)
There are dozens of languages that have done exactly the same and eventually faded away.