6 ms·
Example? Curious, can Zig can be used to simplify CGO dependency management in general, or only for Zig programs?
by AYBABTME 2y ago
Example? Curious, can Zig can be used to simplify CGO dependency management in general, or only for Zig programs?
- wffurr 2y agoZig is a C compiler. Much like D, you can use it to cross compile any C code.
- rockorager 2y agoIt could definitely work for that. You have to think of zig in this context as a build system which can download and compile C/C++ codebases.
- kristoff_it 2y agohttps://zig.news/kristoff/building-sqlite-with-cgo-for-every-os-4cic https://zig.news/kristoff/building-sqlite-with-cgo-for-every...