r/java • u/loicmathieu • Jan 22 '26
Java 26: what’s new?
https://www.loicmathieu.fr/wordpress/informatique/java-26-whats-new/What's new in Java 26 for us, developers
(Bot in English and French)
163
Upvotes
View all comments
Show parent comment
11
u/tomwhoiscontrary Jan 22 '26
You get 48 bits of time and 74 bits of randomness, so you can have plenty of UUIDs in the same millisecond, you just won't get natural time sorting of them.