News for hackers. Stuff that matters.
Re:Dr. Software: An unfinished journey starting from dirty c... by cyberbanjo on Monday June 28, 2021 @07:24AM (#27660414)
The version of java that features Records has only been released since March 2020, so I would suspect no.

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

Re:Dr. Software: An unfinished journey starting from dirty c... by mumblemumble on Monday June 28, 2021 @09:35AM (#27661769)
Something like 2/3 or 3/4 of Java users are still on Java 8. So, yeah, no.
Re:Dr. Software: An unfinished journey starting from dirty c... by petalmind on Monday June 28, 2021 @10:31AM (#27662481)
Sorry, where did you get this estimation from? (Genuine question).

thanks,

Re:Dr. Software: An unfinished journey starting from dirty c... by mormegil on Monday June 28, 2021 @01:21PM (#27664663)
Not OP, probably different numbers, but Snyk has recently published a JVM ecosystem report containing a similar question: https://snyk.io/jvm-ecosystem-report-2021/ (60% of people use JVM 8 in production, but 40% use multiple versions, so e.g. 62% use JVM 11)
Re:Dr. Software: An unfinished journey starting from dirty c... by mumblemumble on Monday June 28, 2021 @10:42AM (#27662621)
It's just sort of in the air. There are several organizations that conduct and publish annual surveys asking Java people what version they're on. Jetbrains and Perforce do, and I think IBM has one, too. The numbers get tossed around in Java tech talks so often that I've long since stopped keeping track of which specific source everyone's quoting, but the figures generally fall on that range.
Re:Dr. Software: An unfinished journey starting from dirty c... by blacktriangle on Monday June 28, 2021 @11:09AM (#27662926)
They may not be relevant based on how large the Java community is, but I think part of it is that the Java-targeting languages like Kotlin, Clojure, and Scala are still targeting Java 8.
Re:Dr. Software: An unfinished journey starting from dirty c... by mumblemumble on Monday June 28, 2021 @12:05PM (#27663648)
Though, I would argue that many Kotlin and Scala users have a stronger incentive to migrate to Java 11 or later than Java users do. Java 8's JIT compiler and default garbage collector tend to punish you (performance-wise) for using Kotlin or Scala; Java 11 and later have made great strides to improve that.
Re:Dr. Software: An unfinished journey starting from dirty c... by divs1210 on Monday June 28, 2021 @03:26PM (#27666587)
Not sure about the other languages, but I've been using Clojure with Java 14 and GraalVM 11 for quite some time.
Re:Dr. Software: An unfinished journey starting from dirty c... by mumblemumble on Tuesday June 29, 2021 @09:59AM (#27675850)
I don't know about Clojure, for example, but Kotlin targeted Java 7 for a long time. By which I mean that the standard library didn't use anything from Java 8 or later, and the compiler would emit Java 7 compatible code by default. You can still compile it to target later versions, though.

It's only fairly recently bumped up to Java 8 being its minimum (and default) Java version.

Re:Dr. Software: An unfinished journey starting from dirty c... by mistrial9 on Monday June 28, 2021 @10:58AM (#27662822)
from a general survey point of view, there are confounding aspects to a single number like that. Since Java is an enterprise language by design, the difference between 'moving versions due to management declaration' and 'our major ecosystem component supports THIS' also factor in to the overall picture.

As an outsider who does follow this for editorial reasons from time to time, most recent info (last year) was yes, projects surveyed are staying on (open) version 8.