Hacker News

Favorites Setup
Comment by mappu | original | C for Rust programmers
[−]mappu · 2026-10-11 Sun 00:17 UTC · link
In userspace/application code this isn't giving you all the value you hope for - because of overcommit and fork/exec, you can OOM on simply modifying a variable (in a non-file-backed page).

What Zig does is great, but it is not actually comprehensively checking that all allocations are fallible and handled. That's not possible on Linux.

[−]smj-edison · 2026-10-11 Sun 02:06 UTC · link
Unless you use cgroups or turn off overcommit :) I'm also hoping to use the core interpreter on memory-limited devices like an ESP-32.