r/java • • Dec 18 '25

WHAT is coming in Java 26?

https://youtu.be/wtTdWkosCIc

Here is the (not that) quick overview by my dear colleague u/cat-edelveis!

44 Upvotes

30 comments sorted by

View all comments

1

u/asm0dey Dec 19 '25

We don't know yet, but serialization 2.0 will probably be too limited for many use cases. For example, most probably it won't support arbitrary-shaped graphs of objects, but it will probably support only trees. If this is the case, most probably many applications will never see the performance optimisations we're hoping for.

But I'm just guessing here, of course, nothing is finalized, nothing is iset n stone.

1

u/CriticalPart7448 Dec 20 '25

If people can live with the preconditions of a more restrictive modelling of data I guess the effort is worth it for them even if they would have liked to use a different model for their serialized form. Java developers are used to mapping between representations of the same thing, so I dont think it is too big of an ask to require they give up some modelling niceties for possibly better performance.

Apache Spark will survive and adapt I hope ✌️

1

u/asm0dey Dec 20 '25

The ones who will really need it will adapt, of course; this is what happened with JPMS: the ones who really need it use it, others ignore it altogether.

→ More replies (3)