News for hackers. Stuff that matters.
Re:Why Zig over C for Systems Programming by program on Friday November 13, 2026 @10:47AM (#50485229)
> Errors you cannot ignore

It's okay for me to declare a macro with `__attribute__((warn_unused_result))` for GCC and Clang, and `[[nodiscard]]` when the C code is later compiled with C++ (or nothing).

Re:Why Zig over C for Systems Programming by uecker on Friday November 13, 2026 @12:11PM (#50486496)
[[nodiscard]] is in C23.