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.
[ Parent
| on HN ]
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.