↓ Skip to main content

“The new one was faster, used less memory, and was actively maintained and enhanced.”

Andrew Kelleyziglang.org ↗

Zig deleted 80,000 lines of C++ by compiling its own compiler to WebAssembly and checking in the blob. Bootstrapping now needs only a C compiler. Every new language feature was being written twice before this. Most projects would have lived with that pain forever.