Hacker News new | ask | show | jobs
by extheat 1574 days ago
So basically a clang wrapper?
3 comments

Its caching system is also smart enough to handle #include dependencies, so for simple C/C++ projects, it can also function as a make alternative (without having to write a Makefile).

Plus, it makes cross-compilation really easy.

Now that's interesting. This is something that breaks go's cache (for cgo).
At first glance, yeah probably. But the advantage with zig is that it has c interoperability and the concept around the programmable build system (build.zig)
It's a clang wrapper that makes clang just work for cross-compilation.

In addition to being its own programming language and build system as well.