News for hackers. Stuff that matters.
Re:New Features in Java 14 by LessDmesg on Wednesday March 04, 2020 @02:06AM (#22481776)
Option types don't have to be boxed and are specifically optimized in Rust and, if I remember correctly, in Haskell. The Nothing is represented much like a null pointer, i.e. with a special value that can't be dereferenced.
Re:New Features in Java 14 by tome on Wednesday March 04, 2020 @03:37AM (#22482104)
Not in Haskell, FYI. Maybes are boxed.