News for hackers. Stuff that matters.
Re:Why Zig when there is already C++, D, and Rust? by jcul on Saturday January 16, 2021 @03:13AM (#25800886)
I'm about to start a little fun project where it would be nice to be able to interact with C++ object files.

I was planning on using Nim but might give Zig a try also.

It looks really cool. I feel like Nim and Zig both fill a similar niche, maybe Zig aiming more towards the lower level / even embedded.

That's just my impression, not having used either in anger.

I agree on the C++ puzzle solving thing, though in a way it's almost part of the appeal!

Re:Why Zig when there is already C++, D, and Rust? by xigoi on Saturday January 16, 2021 @04:18PM (#25805597)
As a Nim user, I think Nim and Zig fill quite different niches. Zig is made specifically for low-level programming with some higher-level constructs, whereas Nim is very general-purpose.