News for hackers. Stuff that matters.
Re:Ask HN: Why is Zig gaining so much popularity lately? by satvikpendem on Tuesday September 12, 2023 @05:24AM (#37478576)
Is it? I only know of Bun but I've not heard of any other Zig programs. In contrast, with languages like Go or Rust, there are any number of notable programs being built that many people have heard of. You might just be taking the popularity of one example, Bun, and extrapolating that as evidence that the language itself, Zig, is gaining much popularity.
Re:Ask HN: Why is Zig gaining so much popularity lately? by moooo99 on Tuesday September 12, 2023 @07:19AM (#37479396)
I think OP may be judging the popularity of Zig by social media popularity, which is an interesting but not reliably proxy.

Regarding the notable programs, you are of course right. But considering Zig hasn’t even had a stable release and is currently in 0.11, I think it’s impressive that there already is a very notable project being implemented in it. Judging by that decision, I would assume Zig has some very convincing features that make it worth taking the risk of being an early adopter.

Re:Ask HN: Why is Zig gaining so much popularity lately? by kristoff_it on Tuesday September 12, 2023 @08:09AM (#37479850)
The most relevant uses of Zig that come to mind are:

- Bun, as you mentioned - https://tigerbeetle.com/ - https://www.uber.com/en-IT/blog/bootstrapping-ubers-infrastr...

Plus a bunch of other companies (including some very big ones) and projects that use Zig here and there, eg AWS uses cargo-zigbuild https://github.com/awslabs/aws-lambda-rust-runtime/blob/e2d5...

Zig also has a few other very promising OSS projects:

- https://github.com/riverwm/river (wayland compositor) - https://github.com/ZigEmbeddedGroup/microzig (HAL for embedded development) - https://machengine.org/ (truly cross-platform gamedev) - https://github.com/michal-z/zig-gamedev (another serious gamedev toolkit)

Just off the top of my mind. Like for all things, you gotta get started somewhere and this is where we are at the moment.