by drfuchs · 6y ago · 0 comments
Just finished reading the Zig cc article and I must say I'm also quite impressed. I'll be keeping an eye on the next Zig release--being able to eventually use it as a `cc` or `mvsc` replacement would be a big game changer. Having recently run the study of trying to cross compile a few C++ and GTK apps, I can really see the appeal.
Rust seems to be mostly something "full stack developers" and "back end developers" embrace for server-side toys and hobby projects.
I don't know of anyone who actually uses Rust in that niche.
Everyone who uses Rust is using it because of "C++ is hard, let's go shopping instead" syndrome.
I.e., at this point it's a language for beginners to ease themselves into programming without training wheels and eventually graduate to real big boy programming languages.
fn add(a: i32, b: i32) i32 {
return a + b;
}Rust quickly becomes harder though, while Zig is much easier to grasp.