Zig vs Rust. Which one is going to be future?
I think about pros and cons and what to choose for the second (modern) language in addition to C.
Zig vs Rust. Which one is going to be future?
I think about pros and cons and what to choose for the second (modern) language in addition to C.
I assume they will both be here for the long term but for different things.
I don’t think there’s much crossover between the two though and I’m not sure this’ll change. Rust code looks a lot like modern strongly typed languages and the memory/performance stuff is abstracted away for most use cases. While Zig looks a lot like C with pointers and writing your allocators. I think Rust is probably easier to grasp for most Devs.
Rust is also already entrenched, android, chrome, windows, JS ecosystem, Python ecosystem, it’s everywhere. While Zig doesn’t have the adoption yet.