3 ms·
Just one toolchain to install in order to compile to the native CPU, using any glibc version, to other architectures, and, for WebAssembly, to any variant (emsc
by jedisct1 3y ago
Just one toolchain to install in order to compile to the native CPU, using any glibc version, to other architectures, and, for WebAssembly, to any variant (emscripten, freestanding, WASI). Zig a very common way to compile C/C++ code to WASI and the only one that can optimize it for a given runtime.
Same, consistent tools and versions everywhere. No need to have 10 different LLVM copies on your system.
Plus, the toolchain already includes a build system, a package manager, a cache, a way to run tests, etc.