|
|
|
|
|
by adwn
299 days ago
|
|
> […] Zig was still using the bootstrap compiler written in C++ that would not free memory […] That sounds strange. Modern C++ requires very little manual memory management, at least when you're writing something high-level like a compiler. C++11 had been out for years when development on Zig started. Were they writing C++ old-school as C-with-classes and malloc() everywhere? Why not use a more appropriate language for the first prototype of a compiler for a brand new language? |
|