11 ms·
Congratulations to the Zig team. Zig's a very interesting project for language mavens. A question - what does the Zig ecosystem look like? Are there strong pro
by rajandatta 5y ago
Congratulations to the Zig team. Zig's a very interesting project for language mavens. A question - what does the Zig ecosystem look like?
Are there strong products and parsers, services, actor models, interfacing with Middleware written in Zig? Or is the theme - drop to C based interfaces to those products? What's the zen of Zig say?
What are some notable wide use applications, solutions written in Zig?
- defen 5y agoIt'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`