4 ms·
> a plan to transition to it for C compilation That's not planned AFAIK (see https://github.com/ziglang/zig/issues/16269 https://github.com/ziglang/zig/issues/
by squeek502 2mo ago
> a plan to transition to it for C compilation
That's not planned AFAIK (see https://github.com/ziglang/zig/issues/16269 https://github.com/ziglang/zig/issues/16269). `translate-c` is really only intended for header translation, not C source code.
See https://github.com/ziglang/zig/issues/20875 https://github.com/ziglang/zig/issues/20875 for the (not fully fleshed out yet) plans around C compilation.
- hibra1 2mo agoZig already uses arocc! https://codeberg.org/ziglang/zig/src/branch/master/lib/compiler https://codeberg.org/ziglang/zig/src/branch/master/lib/compi...
- mlugg 2mo agoThat's there for translate-c, it's not used for compiling C code (To be clear, squeek502 is a part of the Zig core team [0], so he knows what he's talking about :D) [0]: https://ziglang.org/news/welcoming-new-team-members/ https://ziglang.org/news/welcoming-new-team-members/
- hibra1 2mo agomy bad, thank you for pointing that out!
- dundarious 2mo agoThanks for the correction, I knew I was about 2 decisions out of date when I had the impulse to write my post, but my research to fill in my blanks was a bit faulty. I added the 2nd paragraph and "plan to" ending of 1st as an edit because I thought I had learned enough good info when writing the rest, but I was wrong.