Re:Why Rust helps even if you have to use a lot of `unsafe`
by jackmott42 on Wednesday August 02, 2023 @12:32PM
(#36973195)
Rust sum types do not take up that much extra space, in fact often the overhead is completely compiled away. Lots of hard work to keep the wasted memory to a minimum, and they are not pointers, so there isn't an extra memory hop or anything.
[ Parent
| on HN ]
There are no comments on this comment yet.