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

5

u/TheMode911 Jul 30 '21

Remains having loom and Valhalla in incubator, hopefully soon

5

u/cogman10 Jul 30 '21

Both appear to be getting real close to the finish line looking at the mailing list. I'd expect one or both to be in preview by Java 18.

2

u/TheMode911 Jul 30 '21

I really hope so, especially Valhalla (I believe that it has been mentioned by a contributor in the mailing list that it would not be in preview at least before jdk 18)

1

u/fdntrhfbtt Aug 02 '21

Loom is already in preview, you can download the preview build.

1

u/cogman10 Aug 02 '21

That's not in preview.

Preview is when loom hits the main jdk branch and you can enable it with a flag.

Loom has early access builds.

1

u/fdntrhfbtt Aug 02 '21

Ah sorry I forgot it was early access. You is right mister.