23 ms·
Wouldn't the same improvements have been made in zig if they instructed the agents to improve instead of rewrite?
by geon 2mo ago
Wouldn't the same improvements have been made in zig if they instructed the agents to improve instead of rewrite?
- Zakis1 2mo agoBut how would you verify that the agents have written memory safe code? Rust's borrowchecker is a lot faster and actually verifiably safe compared to asking an LLM to fix the safety issues that the Zig version had.
- gpm 2mo agoMaybe they'd get the same numeric improvements and bug fixes today (or maybe not, or maybe they'd get even more since the LLM isn't spending time rewriting correct code). But they wouldn't get a change to the structural issues that created the issues in the first place. They'd end up "ke[eping] fixing these kinds of bugs one-off in perpetuity".
- egorfine 2mo agoUnfortunately (and I say this because I hate this whole rust rewrite) no. There is no fixing a third-party garbage collector on top of the non-memory-managed language. Jarred explains in a post what would that Zig look like.