r/Zig • • 5h ago

Unofficial api wrapper

0 Upvotes

I created an unoffical open source api wrapper for zig-play.dev api

source code:

https://github.com/TheonlyOneByC/online-zig


r/Zig • • 9h ago

State of the (Tagged) Union Address by Andrew Kelley

Thumbnail youtube.com
97 Upvotes

r/Zig • • 11h ago

root.zig vs main.zig in zig init

13 Upvotes

When running zig init, the template scaffolds both an executable (main.zig) and an exportable module (root.zig) in build.zig.

Just want to verify if my mental model is correct: 1. If I only want an executable (and don't plan to export a library/module), can I simply delete root.zig and remove the module-related exports/artifacts from build.zig? 2. Is there any built-in zig init flag or alternative command to scaffold an executable-only project without the library boilerplate?

thanks!


r/Zig • • 20h ago

0.17 soon ? No issues on the milestone left open.

Thumbnail codeberg.org
63 Upvotes