Hacker News new | ask | show | jobs
by geon 607 days ago
Have you heard of Zig?
2 comments

It requires a different compiler. This is just a collection of C preprocessor macros
The Zig toolchain can compile both Zig and C.
Yes, but the Zig toolchain is not $YOUR_EXISTING_C_COMPILER_YOU_ALREADY_KNOW_AND_USE
It is, if you use clang.
I hadn't yet, but it does look nice. I especially like that you can just say "defer deinit", that's really nice.