Y
Hacker News
new
|
ask
|
show
|
jobs
by
donpdonp
2456 days ago
zig's C-interoperability is second to none and using libcurl works great for networking.
example:
https://github.com/donpdonp/zootdeck/blob/master/src/net.zig
2 comments
earenndil
2456 days ago
Nim and d both have comparable interop, and nim even works with c++.
link
rvz
2456 days ago
To be fair, Zig's C interoperability appears to be inspired or borrowed from Swift's little known secret called the ClangImporter.
link