I’ve been curious about Zig for a while now. Most of my experience is with Python and Rust, and I’ll mostly be doing backend web programming.
How’s the web app scene on Zig? What libraries would you recommend for a simple CRUD project? Is there a tokio-like library made in Zig? Also, are there any resources dedicated to Zig web development out there? The last thread about this was made in July 2024, so I’d like to kindly ask if anything has changed since then.
Zig 0.16, which was just recently released, is a weird place to start as a beginner, because the ecosystem has to be rebuilt essentially.
I’ve tried to do my part, you can read about that here:
But the blog post was before Zig 0.16, so it’s already slightly outdated.
You have two options, use Zig 0.15.2 and stick with http.zig and pg.zig.
Or you can use Zig 0.16, but then you are on an experimental ground. As I’ve seen multiple such questions recently, I’m trying to create a demo that showcases my zio+dusty stack for a full web app, with PostgreSQL backend, some Redis cache, maybe Prometheus metrics, logging, etc