by rattray · 5y ago · 0 comments
I don't do C/C++ development. How many headaches would using Zigs compiler & build system solve?
Truth is that cross compilation always breaks down in complex deployment use cases.
I think the problem for Zig is that they use MinGW as their Windows target, and the latter's standard library isn't really UWP compatible (yet?).
Zig uses LLVM for cross compilation, and so does clang. It's really not any better.
But sure, to Zig's credit, they ship all the supported toolchains and so don't have many different cross compilation variants in the OS's package manager. But that's a bit like buying one of everything, even though you'll only use one or two.