Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hopefully Java will support proper values regarding inlining and on-stack allocation for non-primitive types soon, but yes option types are a benefit in Rust as long as you’re not using any more advanced reference libraries.


Can you explain more about "advanced reference libraries", and how they interfere with the benefits of option types?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: