4 ms·
Can you explain the areas in which Zig is safer than Rust? I'm under the impression that crashes are considered perfectly safe because they don't lead to memor
by bobbylarrybobby 4y ago
Can you explain the areas in which Zig is safer than Rust?
I'm under the impression that crashes are considered perfectly safe because they don't lead to memory unsafety. They're inconvenient, but eliminating them is more or less impossible: if you don't want stack overflows, you have to ban recursion; if you don't want integer overflow, you have to ban addition or insert checks for overflow; etc.