r/java • • 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

123 comments sorted by

View all comments

1

u/stefanos-ak Jul 30 '21

in my opinion that is the wrong question. what matters is the future of the JVM. And now is the first time in 20 years that there is some competition there, with LLVM and also Graalvm. But anyway what keeps java/jvm so strong is the ecosystem. the ecosystem of libraries, dev tooling, and production tooling.

13

u/Muoniurn Jul 30 '21

How is LLVM a competition? The VM in its name is completely different from the JVM… For AOT compilation it may be a competition to Graal Native but that’s it.

And Graal is actually built upon the OpenJDK so unless they manage to pull off the “third Futamura projection”, that is, they can specialize a language interpreter with the underlying runtime at the same time to create a specialized runtime just for that language — but if they pull it off it might very well shake up the whole PL field.

6

u/JustAGuyFromGermany Jul 30 '21 edited Jul 30 '21

It took me way too long to read "Futamura" correctly. My brain kept changing it to "Futurama" and was kept asking myself what episode your comment is referring to...

1

u/korras Jul 30 '21

thanks for the comment, i missed it out entirely,

Brain's like " yeah futurama projection, i'll look up the scene later"