4 ms·
As far as my understanding of zig goes....it can compile into C....so if you really want secure C code you can compile zig into C?
by tonetegeatinst 1y ago
As far as my understanding of zig goes....it can compile into C....so if you really want secure C code you can compile zig into C?
- dayvster 1y agoNot quite, it can translate C into zig using the `translate-c` command that it comes with. But it compiles directly into machine code
- Ar-Curunir 1y agoWhile Zig prevents certain kinds of memory safety issues that C does not, it still suffers from memory-safety issues not found in safe Rust.
- Cloudef 1y agoZig can compile into C, but it's not portable C