Comment

Comment by woodrowbarlow

> source-level compatibility with C

not sure if this is exactly what you meant, but in Zig you can #include a C header and then "just" invoke the function. no special FFI syntax or typecasting (except rich enums and strings). it can produce compatible ASTs for C and Zig.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton