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

> What you want is for the normal APIs to return Result<R,E> where E=! when panic on OOM and some OOM error otherwise.

That's a fun idea! I haven't seen that proposed before, but it would work well once we have the ability to configure std and alloc.



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

Search: