4 ms·
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 a
by blacktriangle 5y ago
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.
- mumblemumble 5y agoThough, 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.
- divs1210 5y agoNot sure about the other languages, but I've been using Clojure with Java 14 and GraalVM 11 for quite some time.
- mumblemumble 5y agoI 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.