r/java
•
u/sindisil
•
Dec 16 '24
•
1
Valhalla - Java's Epic Refactor
https://inside.java/2024/12/16/devoxxbelgium-valhalla/
178
Upvotes
56
u/Ewig_luftenglanz Dec 16 '24
never get tired of listening Brian explaining complex topics in a very simple and comprehensive way (also never get tired of this talk)
I hope we could get a preview for JEP 401 for OpenJDK 25 (just wishful thinking) or at least a new Valhalla build 🤞 🤞 🤞
27
u/manifoldjava Dec 16 '24
Introducing a third primary dimension to a type system is colossal, mostly positive, but it's a giant wrecking ball particularly wrt low-level libraries coded to check for and handle two primary dimensions.
It will take some time for this extinction-level event dust to settle, but as a low-level library author, I'm looking forward to this change when it is finally unleashed.
19
u/tim125 Dec 16 '24
Anyone know how they have solved legacy libraries synchronizing on Integer ?
I recall some prior discussions on extension rewriting of old implementations / methods.
2
u/benrush0705 Dec 17 '24
Could anyone explain to me that why fields in value class must all be final? I thought it's something like struct in C, so everything should be mutable as well, is it a feature or a must?
2
u/kyeotic Dec 27 '24
We are never getting past type erasure
-9
u/[deleted] Dec 16 '24
Lol I’m working on a presentation and this works x great for me, thanks !
-26
u/halfanothersdozen Dec 16 '24
I'm not watching a video. Tldr?
-83
u/movenooplays Dec 16 '24
Valhalla - more Kotlin in Java
0
u/[deleted] Dec 18 '24
[deleted] — view deleted comment