How safe is Zig?
Safe enough. You can use `std.testing.allocator` and it will report leaks etc in your test cases.<p>What rust does sounds like a good idea in theory. In practice it rejects too many valid programs, over-complicates the language, and makes me feel like a circus animal being trained to jump through hoops. Zigs solution is hands down better for actually getting work done, plus it&#x27;s so dead simple to use arena allocation and fixed buffers that you&#x27;re likely allocating a lot less in the first place.<p>Rust tries to make allocation implicit, leaving you confused when it detects an error. Zig makes memory management explicit but gives you amazing tools to deal with it - I have a much clearer mental model in my head of what goes on.<p>Full disclaimer, I&#x27;m pretty bad at systems programming. Zig is the only one I&#x27;ve used where I didn&#x27;t feel like memory management was a massive headache.