The old one, written in 80,000 lines of C++, plus sharing Zig code with the new one. The new one was faster, used less memory, and was actively maintained and enhanced. This was a huge pain, especially as the design of these two compilers diverged. The C++ implementation of Zig originally used the same strategy.
Table of contents
How we used WebAssembly to annihilate 80,000 lines of legacy codeUsing C++ to bootstrap a new programming language2 Comments
Sort: