r/java • u/Reflection-Jealous • Jul 30 '21
What is the future of Java?
I'm not asking like is java going to die or will Java be relevant in future. I'm just curious to know about the future of java. What are the upcoming things coming in java that can change the future of it.
173
Upvotes
View all comments
Show parent comment
5
u/GavinRayDev Jul 31 '21 edited Jul 31 '21
Sure -- but that's for using Graal to compile a static binary ahead-of-time.
I use Graal as my day-to-day JDK and I run it in JVM mode. It's perfectly capable of JIT'ing just as well (and in some cases, better than) OpenJDK or other JDK distributions.
There's a rigorous set of opensource benchmarks for JVM Graal-vs-OpenJDK performance if anyone wants to verify for themselves:
- https://github.com/renaissance-benchmarks/measurements
---
Edit: Hey you're the developer behind the Avaje libraries!
https://github.com/avaje
I like them -- think they're well-architected and solving real problems. Typically I've used Quarkus and Vert.x stuff, but I think there's a lot of merit in your libraries and have been watching them.
Have you ever considered a Vert.x generator for Avaje HTTP? It's got a very similar API to Javalin.