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

Most software cannot cope with malloc failing. A little swapping is at least recoverable. A failed malloc almost guarantees that your application will crash--sometimes in a very unpleasant way.



ime the main alternative is the box crashing, frequently without leaving behind enough information to know what went wrong. at least if the app crashes you have a pretty good idea who was incompetent.




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

Search: