by happyPersonR · 3w ago · 0 comments
it's one of the core parts of the security model....
i would hope because there's such strict controls in rust for memory management that you wouldn't have the possibility for allocation fails to begin with? idk ?
if it's a low memory situation, i think there's other ways to handle this ... but i can understand not wanting anything to change other than the language.
but maybe it's something that gets better?
https://github.com/rust-lang/rust/issues/46865
Couple of other ways to do it too.
That being said if you have to go this route maybe the article is oversimplifying the decision?
Another benefit might be not having to deal with all the baggage std lib brings that you don’t use and all the resultant cves?