Hacker News new | past | comments | ask | show | jobs | submit login

Do I interpret your comment correctly that you think Zig might follow a similar path?



Nope, I have no idea which path Zig will take, but I somewhat doubt it will do the same Rust did. Rusts later stage development reminds me a bit of the design by committee approach and it doesn't seem like Zig has that problem, but it's also hard to make it to a mainstream language without a hugely popular project that's associated to it.

I was generally rooting for mainstream usage of Rust, but I don't see it happening with the path it has taken. I also don't really hope it will for the same reasons.


Zig already has the main advantages of being mainstream: first, it is small and easy to learn, which means you can hire any C/C++/D/Rust programmer, and they'll be productive in no time. Second, it binds to C more easily than any other language (save maybe C++), which means you have access to a wealth of libraries already.

Ironically, neutralising network effects like that is perhaps the best way to make sure Zig becomes mainstream, eventually.


> Ironically,...

Not to lionize andy or anything, but I'm pretty sure that strategies to neutralize these concerns is a deliberate choice in his stewardship of the language.


You're correct, "ironically" was uncalled for.


> it's also hard to make it to a mainstream language without a hugely popular project that's associated to it.

As long as it's a good language, why do we care if it's mainstream or not?


I use a non-mainstream language, Haxe.

- There are extremely few jobs that recognise it. I'm attempting to learn C++ because of this.

- Documentation can be lacking as there isn't as much demand for it, or people with time to write it. That said, personal support in small communities can be great.

- Smaller library ecosystem.

- Survival of the language into the future is less certain without the financial support mainstream languages have.

I've used Haxe for years despite these points, it's a great language. A language is more than it's engineering though.


Mostly ecosystem and community support. There are a lot of interesting languages out there, but it's hard to do interesting things with them if they're missing support.

Zig might be in a good position here as it has very nice C interop, which lets you leverage the past 30 years of programming history, but it's still got a ways to go before it will be "ready for primetime" from the look of it.


In many ways, it already has. Zig has been under development for several years now and its syntax and semantics have change a lot since its first iterations. There are still some breaking changes coming that you can find at https://github.com/ziglang/zig/issues.

One of the cooler aspects of Zig's breaking changes is that its formatting tool can automatically update your code to the new syntax.


I'm really glad Rust has that too with cargo-fix. https://doc.rust-lang.org/cargo/commands/cargo-fix.html




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: