News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by sanxiyn on Saturday April 16, 2022 @11:59AM (#31053347)
Well, OCaml Rust compiler also didn't use LLVM and used its own lightweight code generator and I think self-hosted Rust compiler frontend was in fact faster than OCaml Rust compiler frontend.
Re:Zig self hosted compiler is now capable of building itself by parentheses on Saturday April 16, 2022 @12:38PM (#31053767)
With both projects, how much of the improvement is simply building for the second time?
Re:Zig self hosted compiler is now capable of building itself by sanxiyn on Saturday April 16, 2022 @02:05PM (#31054551)
For Rust, I think improvement was almost entirely due to LLVM producing faster code. That's not applicable to Zig case, since both old and new compiler use LLVM. I don't know enough about Zig to answer.