logoalt Hacker News

dlisboayesterday at 11:44 PM2 repliesview on HN

There are far more people running/writing Zig on/for systems with overcommit than not. Most of the hype around Zig come from people not in the embedded world.


Replies

xyzzy_plughtoday at 12:31 AM

If we can produce a substantial volume of software that can cope with allocation failures then the idea of using something than overcommit as the default becomes feasible.

It's not a stretch to imagine that a different namespace might want different semantics e.g. to allow a container to opt out of overcommit.

It is hard to justify the effort required to enable this unless it'll be useful for more than a tiny handful of users who can otherwise afford to run off an in-house fork.

show 1 reply
wavemodetoday at 12:06 AM

I never said that all Zig users care about recovering from allocation failure.