hbbio 14 minutes ago
For instance Rust, which is definitely a very high quality project, had bugs in its memory safety. So proving memory safety in Lean from Zig code may work even better in the end. Also the properties that can be verified in Lean go beyond memory safety but writing whole projects in Lean is not easy: The toolchain is not here, and there will be lots of issues.
Zig, otoh, is excellent in tooling to the point people even use Zig to build C projects. So you can iterate with agents building the software and when it's stabilizing you can use Zean to start verifying it.