Do you dream of "value types" in Java? So do I! Hence I was thrilled to see that Project Valhalla is slowly coming out of exploration with two draft JEPs. Here's what they currently propose. 🧵👇🏾 (If you prefer video: https:/www.youtube.com/watch?v=WBvTilbh8S0&t=344s) 1/10
3
24
85
0
8
First, why value types? To bridge the divide between * primitives (fast, no memory overhead) and * reference types (abstraction, safety, identity) As is, we sometimes have to choose between performance and design. And we often choose wrongly. 2/10