4 ms·
I really don't think these languages should be set opposite to one another as much as they do. I mean, I get why they are. They take up almost the same position
by olodus 7y ago
I really don't think these languages should be set opposite to one another as much as they do. I mean, I get why they are. They take up almost the same position and have quite different ways to view security and lang design. And they both try to grow and compete.
But still. I think there are some space for them both.
I would really think it would be cool to spend my working hours programming Rust for safety and switching to Zig whenever I have to code an unsafe block (all of it compiling to webasm :o )
- flohofwoe 7y agoIn my mind/opinion, Rust is a potential replacement for C++, while Zig is a potential replacement for C, and both have their place in the world. Rust feels more restrictive, but that may be the right approach for building large software projects with big, "diverse" (in terms of skill level) teams. Zig is smaller and feels more nimble, and might be better suited for smaller teams working on smaller projects, and for getting results faster, while avoiding most of C's darker corners.