Hacker News new | past | comments | ask | show | jobs | submit login

`@cImport` in zig does the same as `ImportC` for D. You import a C file and can then just use it in your program. Notably it existed in Zig before it did in D.



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

Search: