Zig is a new, independently developed low-level programming language. It’s a modern reimagining of C that attempts to retain C’s performance while embracing improvements from the last 30 years of tooling and language design.
Zig makes calling into C code easier than any other language I’ve used. Zig also treats unit testing as a first-class feature, which the C language certainly does not.
These two properties of Zig create an interesting opportunity: Zig allows you to add unit tests to existing C code.
That’s an interesting idea to use zig to test C code. It’s quite an achivement for zig to be better than C at testing C code. I really hope for them that this language will become popular.
And this post was interesting to see how a new user of zig approaches that language