Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AYBABTME
· 2y ago · 0 comments
Example? Curious, can Zig can be used to simplify CGO dependency management in general, or only for Zig programs?
Comments
[–]
kristoff_it
2y ago
https://zig.news/kristoff/building-sqlite-with-cgo-for-every...
[–]
rockorager
2y ago
It 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.
[–]
wffurr
2y ago
Zig is a C compiler. Much like D, you can use it to cross compile any C code.