Re:LLVM 7.0.0 released
by AnIdiotOnTheNet on Wednesday September 19, 2018 @07:58PM
(#18028631)
Same thing as everyone else: play russian roulette with the OOM-killer and hope that whatever was important to the user didn't get destroyed. Can't really do anything about the OS lying to you.
[ Parent
| on HN ]
Re:LLVM 7.0.0 released
by flurrything on Friday September 21, 2018 @04:29AM
(#18038087)
How do Zig programmers using Linux or MacOS validate that their OOM handling is correct?
Re:LLVM 7.0.0 released
by AnIdiotOnTheNet on Friday September 21, 2018 @07:48AM
(#18038974)
There's an allocator in the standard library that is specifically designed to fail.
https://github.com/ziglang/zig/blob/master/std/debug/failing...