|
|
|
|
|
by flohofwoe
406 days ago
|
|
The Zig compiler can compile C, C++ and ObjC, directly import C headers, directly call into C APIs and the Zig type system is very "C ABI friendly". So if something isn't available in pure Zig it's quite trivial to directly integrate dependencies that are written in C, C++ or ObjC (much easier than any other language I used so far). There's also a centralized effort to wrap C/C++ libraries into Zig packages so that they can be easily consumed in the Zig build system: https://github.com/allyourcodebase |
|