C/C++ projects packaged for Zig
jcbhmr
45 points
25 comments
July 27, 2026
Related Discussions
Found 5 related stories in 117.1ms across 10,559 title embeddings via pgvector HNSW
- Zig v0.17.0 ErenayDev · 232 pts · October 02, 2026 · 59% similar
- Ziggity – A terminal UI for Git, written in Zig TheSorcerer · 71 pts · July 20, 2026 · 58% similar
- Patching Zig's Std ingve · 12 pts · October 12, 2026 · 56% similar
- Zig In-Depth Overview andrewstetsenko · 18 pts · July 25, 2026 · 54% similar
- Zig to remove support for wasi-libc paaloeye · 19 pts · August 28, 2026 · 54% similar
Discussion Highlights (5 comments)
gracefulliberty
Both an excellent showcase of the Zig build system and a convenient way to use C libraries within Zig.
rtpg
I'm a bit worried this is intro'ing the classic problem we have in Bazel land, where everyone is having to show up with their own sort of packaging scripts etc instead of using upstream tooling one way or another. I had the impression `zig` already has stuff like `zig cc`. Would... would `zig make` be an impossible proposition? Maybe that makes no sense.
jeremyjh
I just looked at one example...Wayland's meson.build is 142 LOC, but build.zig is 581. https://github.com/allyourcodebase/wayland/blob/master/build... https://github.com/wayland-mirror/wayland/blob/main/meson.bu...
fuhsnn
These look more like configure snapshots for Zig's bundled Clang than full ports of build system. The HAVE_/WITH_ defines are supposed to be dynamically probed to adapt to different toolchain environments, setting them manually like that[1][2][3] could only work well for specific targets and for specific versions. [1] https://github.com/allyourcodebase/libxml2/blob/38fb69d375bc... [2] https://github.com/allyourcodebase/rnnoise/blob/47db9c212d7e... [3] https://github.com/allyourcodebase/wayland/blob/f992cd71e199...
Panzerschrek
Yet another attempt to fix the problem with 14 competing standards by introducing one more standard. Now a C++ developer can face a problem, when he needs some thirdparty dependency and it requires Zig to be built.