3 ms·
Zig doesn't prevent memory errors, or data races at compile time, but Zig does handle undefined behavior better than C/C++, and has options instead of nulls. S
by gameswithgo 6y ago
Zig doesn't prevent memory errors, or data races at compile time, but Zig does handle undefined behavior better than C/C++, and has options instead of nulls. So you get some sized step in the right direction on correctness, without adding the complexity of a borrow checker. Zig compiles faster, Rust is more mature of an ecosystem. Zig is a simpler language, Rust is featureful/more complex.
- deleted 6y ago[deleted]