Live data from Hacker News

Zig Guide

zig.guide

1–10 of 60 posts

Re: Zig Guide

#2
Zig is great, played with it a bit to compile to WASM and found it to be pretty easy to work with.

That said, they're not winning on the docs, community and marketing front vs Rust. It's not really apples to apples, but it's a comparison people naturally draw.

Re: Zig Guide

#3

Zig is great, played with it a bit to compile to WASM and found it to be pretty easy to work with. That said, they're not winning on the docs, community and marketing front vs Rust. It's not really apples to apples, but it's a comparison people naturally draw.

> The latest release of Zig is 0.13.0 and is currently unstable.

The unstable part might be why. That said, I’m a little familiar with it as it’s what Bun uses.

Re: Zig Guide

#4
Zig sounds super appealing but yes the documentation and community resources are very lacking. Which is why I chose to learn Go this year over Zig.

Re: Zig Guide

#5

Zig is great, played with it a bit to compile to WASM and found it to be pretty easy to work with. That said, they're not winning on the docs, community and marketing front vs Rust. It's not really apples to apples, but it's a comparison people naturally draw.

For me, it's the library problem. I read the guide and think, "Wow, this is really great!" Then I read the cookbook, and it mostly says that things (like database connectivity, regex, options parsing, even HTTP GET) are not quite ready for prime time, and I should just call out to C.

Obviously, it takes time for a language to get there; I don't really mean this as a criticism. But I'm just not interested in wrapping C libraries while I wait for a zig version. I'd rather just write C. Or work in a language that is there with these kinds of things.

Re: Zig Guide

#6
I first heard about zig this May and since then I hear more and more often about it. I wonder if it’s baader-meinhof or is Zig actually gaining popularity?

Re: Zig Guide

#7

Zig is great, played with it a bit to compile to WASM and found it to be pretty easy to work with. That said, they're not winning on the docs, community and marketing front vs Rust. It's not really apples to apples, but it's a comparison people naturally draw.

In fairness to Zig, they're quite a bit younger. I have no doubt they'll catch up

Re: Zig Guide

#8
it’s funny how vibes have shifted from Rust to zig now. I wonder what programming language will be the hype in 2026!

Re: Zig Guide

#9

Zig is great, played with it a bit to compile to WASM and found it to be pretty easy to work with. That said, they're not winning on the docs, community and marketing front vs Rust. It's not really apples to apples, but it's a comparison people naturally draw.

problem is that the language started hitting its stride and getting attention while the core team is on a 2 year side quest of rewriting the compiler + incremental compilation

Re: Zig Guide

#10
I've been going through ziglings https://codeberg.org/ziglings/exercises/ and am a bit more than halfway through it.

So far, it feels like though there's been a bunch of things to learn, they all fit together easily in a small mental space. It does generally feel like they've redesigned C for the modern times without going overboard, and succeeded to an admirable degree in the goal of being a simple language.

Post reply on HN