Which JDK versions should we support? #103
Replies: 5 comments 6 replies
-
Just for information, ANTLR 4.10+ requires Java 11. |
Beta Was this translation helpful? Give feedback.
-
In 2020 Java 8 was still used a lot: https://snyk.io/blog/developers-dont-want-to-leave-java-8-as-64-hold-firm-on-their-preferred-release/ |
Beta Was this translation helpful? Give feedback.
-
In 2022 Java 8 is still used by over 40% of companies in production. I think this means we should support it. https://newrelic.com/resources/report/2022-state-of-java-ecosystem |
Beta Was this translation helpful? Give feedback.
-
The only reason I can think of for supporting Java 11, is for getting to use ANTLR 4.11. It may introduce some performance advantages and support for more targets. That said if Java 8 still used by over 40% of companies that seem something we cannot ignore. Supporting two variants of each of our parsers seem unsustainable. Maybe decoupling ANTLR from kolasu-core could help us here. We could potentially have a modules such as: kolasu-antlr49 (using Java 8) and kolasu-antlr411 (using Java 11). We would use kolasu-antlr49 unless strong reasons push as towards using kolasu-antlr411. @alessiostalla do you think this may work? |
Beta Was this translation helpful? Give feedback.
-
Kolasu 1.5 has been moved to Java 8 |
Beta Was this translation helpful? Give feedback.
-
Version 1.5 is aiming to JDK 11. Is this ok or should we support JDK 8 instead?
Beta Was this translation helpful? Give feedback.
All reactions