3 ms·
Why Zig is better than some other programming language?
by nicce 2y ago
Why Zig is better than some other programming language?
- samatman 2y agoIt easily cross-compiles to any target it supports, and natively handles C and C++ dependencies. Much of the complexity of supporting builds in other languages comes from the inclusion of object code in C or C++, so using Zig gives a leg up with that. It also handles caching quite cleanly. I don't think it's an obvious choice for literally everything, at least not yet. But I'd suggest strongly considering it as a build tool for object-code-heavy applications, even if they don't use the Zig language itself.
- mirekrusin 2y agoPeople use it as better c compiler and build system without using zig per se.