Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
LessDmesg
· 6y ago · 0 comments
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.
Comments
[–]
tome
6y ago
Not in Haskell, FYI. Maybes are boxed.