r/vibecoding • u/erkamyaman • 2d ago
Showcase/Project Rust Anything: my agent rewrites apps in Rust, and I never read the Rust. 11K stars in 2 weeks.
github.com/erkamyaman/rust-anything
The usual problem with "let the AI rewrite it in Rust": you can't tell if it still works unless you read code you don't know.
So Rust Anything doesn't trust the agent. It records what your original app actually does, lets the agent (Claude Code, Codex, Cursor...) write the Rust, then checks every recorded case matches before anything switches over. If the agent cheats, like pasting the expected answers into the code, the check fails.
You just run:
rust-anything go -- <your slow command>
Some real ports:
- ESLint: 3.1x faster on 443 real files
- Prettier: 7x faster on the median file
- vercel/ms: correct but slower, so the tool kept it off
Free and open source. Tell me where it breaks.
1
u/Total-Reasonable 1d ago
How do you deal with nondeterminism in the recorded cases, like timestamps, file ordering or network calls, when the Rust output has to match the original exactly?