Hey everyone, I’ve been thinking about how I initialise stack-allocated buffers in Zig, and I’ve found myself consistently leaning towards std.mem.zeroes rather than undefined. For example, I’ll typically write: var buf = std.mem.zeroes([256]u8); Instead of: var buf: [256]u8 = undefined; My reasoning is primarily around robustness and clarity. It feels “safer” to me to explicitly zero out a buffer, especially when parts of it might not be immediately overwritten, avoiding potential ...