Hacker News

Favorites Setup
Comment by im3w1l | original | C for Rust programmers
[−]im3w1l · 2026-10-10 Sat 15:51 UTC · link
No one does this. The best you can hope for is that a rare few especially error prone allocations (perhaps they are huge, or user controlled) are handled. Someone might I suppose also wrap all malloc calls in a function that shows a dialog or error message and only then exits. But returning all the way to the top, yeah.. no..