News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by tathisit on Tuesday September 14, 2021 @12:15PM (#28526979)
It's impossible for Option<T> to be the same size as T. Option is a tagged enum, where will the tag go?
Re:Java 17 / JDK 17: General Availability by agolliver on Tuesday September 14, 2021 @12:26PM (#28527133)
Looks like it's only true for pointer types which cannot be null (so they can reuse null as the None tag)

https://doc.rust-lang.org/std/option/