Through witchcraft and dark magic, Zig contains a C standard library and cross compiler for every architecture in 45 megabytes.
Through witchcraft and dark magic, Zig contains a C standard library and cross compiler for every architecture in 45 megabytes.
“Clang and GCC cannot do this” this is such a dishonest claim. A certain clang distribution he tried “couldn’t do it”, but that does not mean that clang in general can’t cross-compile. In fact, the reason zig can is LLVM itself. You can build a custom distribution with all your favorite targets from clang (just like you can build a whole compiler for a new language).