Aro – Zig's new C compiler
github.com
Aro – Zig's new C compiler
1–10 of 130 posts
Re: Aro – Zig's new C compiler
#2Re: Aro – Zig's new C compiler
#3Re: Aro – Zig's new C compiler
#4Re: Aro – Zig's new C compiler
#5It 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.
Re: Aro – Zig's new C compiler
#6Re: Aro – Zig's new C compiler
#7There's doesn't appear to a whole lot of comments or documentation in the code. Is this normal for Zig projects? Does it have an equivalent of Sphinx to build docs from code?
Re: Aro – Zig's new C compiler
#8Am I understanding correctly that this is a regular C compiler used as a component of the Zig compiler chain allowing compilation of C files alongside Zig? Or does Zig generate C and therefore need a C compiler under the hood?
Looking at the documentation suggests it is the former, not the latter.
Re: Aro – Zig's new C compiler
#9There's doesn't appear to a whole lot of comments or documentation in the code. Is this normal for Zig projects? Does it have an equivalent of Sphinx to build docs from code?
Re: Aro – Zig's new C compiler
#10 dmd hello.c
./hello
hello world
This helps enormously in binding to existing C libraries.