{"slug": "zig-cc", "name": "zig cc", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 3, "commenters": 3, "warners": 0, "score": 2.443, "rising": -0.98, "first": "2025-11-17", "latest": "2025-12-31", "why": "It let's you target specific glibc versions. It's a pretty amazing C toolchain.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 0, "compare": 0, "warn": 0}, "spark": [1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "It let's you target specific glibc versions. It's a pretty amazing C toolchain.", "icon": true, "domain": "andrewkelley.me", "github_repo": null, "official_url": "https://ziglang.org", "pricing": "", "aliases": ["zig cc", "zigcc"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 743109584, "item_id": 46444349, "url": "https://news.ycombinator.com/item?id=46444349", "by": "yx827ha", "date": "2025-12-31", "stance": "recommend", "quote": "It let's you target specific glibc versions. It's a pretty amazing C toolchain.", "excerpt": "Check out `zig cc`. It let's you target specific glibc versions. It's a pretty amazing C toolchain. https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html", "context": "", "use_case": "cross-compiling against older glibc", "switched_from": "", "story": "Win32 is the stable Linux ABI"}, {"id": 740029040, "item_id": 46251815, "url": "https://news.ycombinator.com/item?id=46251815", "by": "archargelod", "date": "2025-12-12", "stance": "recommend", "quote": "use zigcc[1] for easy Nim cross-compilation", "excerpt": "If a script is simple - I use posix sh + awk, sed, etc. But if a script I write needs to use arrays, sets, hashtable or processes many files - I use Nim[0]. It's a compiled systems-programming language that feels like a scripting language: - Nim is easy to write and reads almost like a pseudocode. - Nim is very portable language, runs almost anywhere C can run (both compiler and programs). - `nim r script.nim` to com", "context": "", "use_case": "cross-compilation", "switched_from": "", "story": "Using Python for Scripting"}, {"id": 735253008, "item_id": 45953313, "url": "https://news.ycombinator.com/item?id=45953313", "by": "tamnd", "date": "2025-11-17", "stance": "recommend", "quote": "With Zig CC I could build binaries for different platforms and architectures without using Docker.", "excerpt": "My use cases similar to this https://blog.afoolishmanifesto.com/posts/golang-zig-cross-compilation/ need to bundle a lot of C libraries, some using dynamic linking and some using static linking, and I need to deploy them on different operating systems, including some that are difficult to work with like RHEL. Right now the builds are slow because I use a separate Dockerfile for each platform and then copy the binary ", "context": "", "use_case": "cross-platform C library builds", "switched_from": "Docker", "story": "Open-source Zig book"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["cross-compiling against older glibc", "cross-compilation", "cross-platform c library builds"], "compared": [{"slug": "docker", "name": "Docker", "co": 1, "switched_from": 1, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=46433035", "title": "Win32 is the stable Linux ABI", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46189962", "title": "Using Python for Scripting", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45947810", "title": "Open-source Zig book", "mentions": 1}], "sentiment_by_month": {"2025-11": {"recommend": 1}, "2025-12": {"recommend": 2}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 743109584, "item_id": 46444349, "url": "https://news.ycombinator.com/item?id=46444349", "by": "yx827ha", "date": "2025-12-31", "stance": "recommend", "quote": "It let's you target specific glibc versions. It's a pretty amazing C toolchain.", "excerpt": "Check out `zig cc`. It let's you target specific glibc versions. It's a pretty amazing C toolchain. https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html", "context": "", "use_case": "cross-compiling against older glibc", "switched_from": "", "story": "Win32 is the stable Linux ABI"}, {"id": 740029040, "item_id": 46251815, "url": "https://news.ycombinator.com/item?id=46251815", "by": "archargelod", "date": "2025-12-12", "stance": "recommend", "quote": "use zigcc[1] for easy Nim cross-compilation", "excerpt": "If a script is simple - I use posix sh + awk, sed, etc. But if a script I write needs to use arrays, sets, hashtable or processes many files - I use Nim[0]. It's a compiled systems-programming language that feels like a scripting language: - Nim is easy to write and reads almost like a pseudocode. - Nim is very portable language, runs almost anywhere C can run (both compiler and programs). - `nim r script.nim` to com", "context": "", "use_case": "cross-compilation", "switched_from": "", "story": "Using Python for Scripting"}, {"id": 735253008, "item_id": 45953313, "url": "https://news.ycombinator.com/item?id=45953313", "by": "tamnd", "date": "2025-11-17", "stance": "recommend", "quote": "With Zig CC I could build binaries for different platforms and architectures without using Docker.", "excerpt": "My use cases similar to this https://blog.afoolishmanifesto.com/posts/golang-zig-cross-compilation/ need to bundle a lot of C libraries, some using dynamic linking and some using static linking, and I need to deploy them on different operating systems, including some that are difficult to work with like RHEL. Right now the builds are slow because I use a separate Dockerfile for each platform and then copy the binary ", "context": "", "use_case": "cross-platform C library builds", "switched_from": "Docker", "story": "Open-source Zig book"}]}