3 ms·
Seeing how Zig has reimplemented the C preprocessor just to make C interop easier/smoother, there's always room for improvement beyond plain old function import
by eptcyka 6y ago
Seeing how Zig has reimplemented the C preprocessor just to make C interop easier/smoother, there's always room for improvement beyond plain old function importing/exporting.
I of course, think that C FFI is as good as I personally need it to be. It's as good or better than most other languages that are not C.
- deleted 6y ago[deleted]
- flohofwoe 6y agoZig doesn't just implement the C preprocessor, instead the Zig compiler is also a C compiler, there are no separate compiler toolchains or build systems required for mixed Zig+C projects and you can directly import C headers into Zig source files.