4 ms·
What Rust does is incredibly cool and impressive. But as someone that's dabbled a bit in both Zig and Rust, I think there's a lot of incidental complexity in R
by dilap 4y ago
What Rust does is incredibly cool and impressive.
But as someone that's dabbled a bit in both Zig and Rust, I think there's a lot of incidental complexity in Rust.
For example, despite having used them and read the docs, I'm still not exactly sure how namespaces work in Rust. It takes 30s to understand exactly what is going on in Zig.
- pitaj 4y agoCan you explain what you mean by your namespaces comment? AFAIK, Rust has modules and crates, not namespaces.
- brabel 4y agoNamespace is a more generic name for what modules and crates in Rust provide.
- proto_lambda 4y agoThe module system is something that some people struggle with for a while, but every feedback I've heard so far is "it actually makes complete sense, I don't know why I didn't get it earlier". There just seems to be dead-end somewhere that people frequently think themselves into.
- avgcorrection 4y agoYeah, it was quite mind-bending when I tried to learn it. I still don’t understand why they went in that direction.