News for hackers. Stuff that matters.
Re:Zig 0.8.0 Release Notes by defen on Friday June 04, 2021 @11:23PM (#27401823)
It's still pretty early for a significant ecosystem to exist, but in general interfacing with C (or C++ `extern "C"` stuff) in either direction - calling C from Zig or Zig from C - is extremely simple. You can tell Zig functions / structs to use the C ABI with the `extern` keyword, and you can use C headers (structs, prototypes, enums, #define's, etc) via `@cImport` or `translate-c`

There are no comments on this comment yet.