Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Zig has more things for C interop than you're suggesting though, namely the extern keyword, calling convention, etc. Like ts/js, zig/c seems first class designed be used together in one codebase, compared to eg Rust where is obviously possible but more deliberately discouraged (since it breaks the safety guarantees, which Zig never claimed to begin with)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: