Hacker News new | ask | show | jobs
by BatmanAoD 1550 days ago
You still have to follow the C ABI when interfacing with C. That's the exact problem being called out in the post.

Zig solves interoperability by incorporating an entire copy of LLVM. Go does do bare metal syscalls, but as mentioned elsewhere in these comments, this has caused breakage on Mac when the kernel was updated, because this interface isn't stable.