3 ms·
zig is not safe. it's more "ergonomic" so theoretically it's harder to write bugs than in c, but out-of-bounds accesses, use-after-frees and such can still happ
by nice_byte 5y ago
zig is not safe. it's more "ergonomic" so theoretically it's harder to write bugs than in c, but out-of-bounds accesses, use-after-frees and such can still happen because of programmer error in well-formed zig programs.
see also: https://github.com/ziglang/zig/issues/2301 https://github.com/ziglang/zig/issues/2301