Rust/Zig

Solitude

Executive Member
Joined
Jul 23, 2008
Messages
8,438
Reaction score
5,147
Location
Little Falls
I'm thinking of learning a new language and decided between either Zig or Rust.

Zig is still in its infancy but it looks like such a nice language to work with. Especially coming from C/C++/C#. I haven't looked that deeply into Rust but it looks very powerful and it's been adopted all over the place. I just don't like the language structure that much. But maybe I can get used it.

Have any of you programmed in either of these languages? What do you think of them?
 
I've done all the rustlings, and although I enjoyed it, I didn't love it, but Rust's onboarding is never going to be smooth, as you need to think about things differently.

For the apps we generally build, there is no reason to use Rust. It wouldn't solve problems, and onboarding + hiring would be atrocious.
 
Warning: Rant Incoming..

Not a fan of either. IMHO language designers are trying to be too clever with modern languages and introduce unnecessary complexity. You should never learn and use a language just because it's popular at a specific point in time, hate the language hive mind.

I think people make the mistake of thinking that certain languages are outdated, such as C. Over what timescale i ask? Most computer languages havn't even lasted a generation yet. C is approx 40 years old now, who is to say that is too old? Why shouldn't languages last longer?

There are two ways to approach language design. Either take the kitchen sink approach and introduce as many features into the language as possible or start from a simple base and built up complexity from that.

I prefer the latter, i.e keeping things simple and apparently so do many other software engineers. That's why C still runs the world (embedded) and is the second most used language according to the TOIBE index.

I think people that use rust are beyond foolish, it's a horrible verbose language. But that's my 2 cents.

Basically no new programming language has advantages that would justify retraining millions of developers. So go ahead and write your fancy rust code, but don't think you are clever for doing that.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X