3 ms·
These days, I's put my money on zig cc. I.E. zig cc -Os or zig cc -O3
by icsa 3y ago
These days, I's put my money on zig cc.
I.E. zig cc -Os or zig cc -O3
- eyegor 3y agoDoes the zig compiler have many fancy bits? I was under the impression the c support was a "nothing special" compiler that punted to llvm for optimizations.
- plorkyeran 3y agoCorrect, zig currently does not do any of its own optimizations. It won't necessarily have identical results to clang because it'll generate equivalent but not identical IR and the optimizer passes may happen to do something different as a result, but it's not going to be consistently different.