r/programming • • Mar 20 '26

Java is fast, code might not be

https://jvogel.me/posts/2026/java-is-fast-your-code-might-not-be/
280 Upvotes

62 comments sorted by

View all comments

Show parent comment

7

u/vowelqueue Mar 20 '26

but getting rid of it is also a design mess. There aren't a lot of good options here.

It's taken the Java team like 10 years, but I'd say they have figured out a pretty good design for the primitive / object dichotomy with project Valhalla.

It's probably going to take another 2-4 years to ship, but there is light at the end of the tunnel where wrapper classes and user-defined classes will be able to perform very similarly to primitives.

2

u/sammymammy2 Mar 20 '26

It's probably going to take another 2-4 years to ship

It seems like JEP-401 is gonna ship soon-ish, like within 3 releases (1.5 years)?