4 ms·
It would be interesting to see how well it optimizes compared to the established players. The fact that it handles C23 and common GNU extensions is already impr
by Y_Y 2y ago
It would be interesting to see how well it optimizes compared to the established players. The fact that it handles C23 and common GNU extensions is already impressive.
- MaxBarraclough 2y agoI agree it does seem very impressive. My first thought was that they must be using LLVM for the backend, but it looks like no, it's fully 'self-contained'.
- samatman 2y agoEliminating the dependency on LLVM is a major focus for the language team, and a big part of why Aro exists. Note that it's the dependency which is being eliminated: it will remain possible to use LLVM as a back end, and to compile Zig and C together without using Aro to translate the C into Zig. If I'm understanding the roadmap correctly, the C headers needed to link a C library with Zig code will be translated into Zig, but doing so with the actual .c files will be optional.