News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by est31 on Saturday April 16, 2022 @01:57PM (#31054463)
I wonder how much this statement still holds. I've never used the OCaml bootstrap compiler but performance wise, the rust compiler has improved incredibly since the 1.0 release.
Re:Zig self hosted compiler is now capable of building itself by sanxiyn on Saturday April 16, 2022 @02:08PM (#31054592)
An apple to apple comparison is impossible because rustboot compiled a very different language. But I suspect suitably updated rustboot would be still faster because compilation time is dominated by LLVM.
Re:Zig self hosted compiler is now capable of building itself by pcwalton on Saturday April 16, 2022 @04:01PM (#31055608)
Rustboot's code generator was generally slower than LLVM. I think in some small test cases it might have been faster, but when implementing stuff like structure copies rustboot's codegen was horrendously slow because it would overload the register allocator.