Hacker News new | past | comments | ask | show | jobs | submit login

Note that Rust, the language, is perfectly capable of handling memory allocation failures, it's just the standard library that makes the assumption. Embedded environments wouldn't use the standard library for numerous reasons anyway, and the "core" library uses no allocation at all. That said, IIRC handling of failure in the standard library will happen eventually, I believe there's just no consensus yet on the best way to do it.



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

Search: