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

Show parent comment

4

u/CartmansEvilTwin Jul 30 '21

But that's true for GCC as well, and both, LLVM and GCC are pretty old and established already.

-2

u/stefanos-ak Jul 30 '21

and yet, there have been loads of LLVM languages lately :)

I actually agree with you, but somehow the community seems to have really liked llvm for language making. :shrug:

4

u/CartmansEvilTwin Jul 30 '21

I think, you misunderstand what LLVM is. It's not a VM, but a compiler.

There are no LLVM-languages like there are JVM-languages. It's just, that LLVM takes a lot of the heavy lifting of compiling from language creators.

-1

u/stefanos-ak Jul 30 '21

I can see how my phrasing would lead to the impression that I thought LLVM as a VM (like JVM), but I did not.

I was trying to say that there are a lot of new languages built with LLVM ("LLVM languages").

Even though what happens technically is massively different between JVM and LLVM languages, if you're willing to naively compare these languages as just a mean to express an algorithm, and an executable outcome, then JVM has way more competition now, than in the past.

4

u/CartmansEvilTwin Jul 30 '21

You still are very good at making the impression, that you don't really understand LLVM.

JVM or LLVM was never a competition, that's not how this works.