4 ms·
And if you're already using zig cc to compile your C project, you might as well write the next module in Zig. I know of no other language which makes it quite
by samatman 2y ago
And if you're already using zig cc to compile your C project, you might as well write the next module in Zig. I know of no other language which makes it quite so easy to produce C-compatible object code. Some of that is the design of the language itself, but a great portion of it is providing native C and C++ compilation, with a good build system and an excellent cross-compilation experience.
Projects which rely heavily on this feature are a bit nervous about the plans to break the LLVM dependency, but using the Zig toolchain this way is too important to the goals of the language to screw that part up.