| ▲ | mappu 7 hours ago | |
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 5 hours ago | parent [-] | |
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. | ||