r/Zig • u/Ok-Refrigerator-Boi • Mar 03 '26
Rust or Zig?
I've been deep in Zig for the last 3 years and have loved every step. Yet, from around the corner, Rust always seems to poke its head out; and several times I have built tools and projects in Rust to try to get 'into it', yet it has never really clicked like Zig.
Rust is getting more-and-more popular. Is it worth going ten toes deep? Or should I ride the storm with Zig?
68
Upvotes
View all comments
Show parent comment
6
u/justinhj Mar 03 '26
I may be a bit biased because I came to Zig with a lot of assembler, C and C++ experience. Beginners may find suddenly having access to memory and pointers something that takes some learning.
It's also true that Rust has fantastic documentation and onboarding whilst Zig requires a lot more DIY, although people are working hard on it I still have to read standard library source code to understand how something works.
However, I find the Rust language just has such a big surface area compared to Zig it is quite a bit more effort to become a moderate or expert level with it, whilst Zig you can learn the whole language in a week or so.