NfNitLoop ("Cody Casterline 🏳️🌈") wrote:
However, after using #Rust, Zig's lack of memory safety features is a deal breaker for me. I was reading some Zig docs (which now I can't find) that recommended always documenting the owner when passing parameters by pointer, so you know who should free some memory.
Yes! That's what Rust's ownership is for! It forces me to document that explicitly in every case, in a way that the compiler can check for me, instead of me having to load and keep all of that information in my brain.