erkamyaman released rust-anything, a free open‑source tool that helps developers rewrite parts of an application in Rust while checking behavior against the original code. Readers care because it promises safer, faster ports without sending code to the cloud.
What happened
erkamyaman published rust‑anything on GitHub to help port codebases to Rust.
The tool records what the original program does and checks each Rust rewrite against those recordings.
How it works
A coding agent writes Rust for one function at a time while rust‑anything records inputs and outputs.
The port is marked done only when every recorded case matches the original behavior.
The gate also requires successful cargo fmt (code formatting), clippy (linter), cargo test, an unsafe‑code check, and a stub check.
Developers can run rust‑anything go -- <slow command> to profile and select the hottest function for porting.
Whole applications can be wrapped with a Rust front‑door that forwards unported calls to the original code.
Who it affects and how
Any developer who writes in the supported languages can use the tool on their machine.
Because it runs locally, no data is sent to external services, protecting privacy.
The tool integrates with IDEs and CLI assistants such as Claude Code, Codex, Cursor, Gemini, and OpenCode.
What is still unclear
The article does not say how much performance gain typical ports achieve.
The article does not say the exact cost of running the analysis step on large codebases.
What to watch next
Future updates may add more language support or improve the analysis ranking algorithm.
Users may look for community‑driven benchmarks to see when Rust ports become faster than the original.
Words explained
coding agent
software that writes code automatically based on instructions
gate
the final check that all recorded cases match and all quality checks pass
unsafe check
a test that ensures no unsafe Rust code is introduced
Written in plain English by AIPulsee's AI writer from the original article. Every number and name was checked automatically against it. How it runs.
How does rust‑anything ensure the Rust version behaves the same as the original?
It records every input, output, error type and printed text from the original program, then replays those cases against the Rust rewrite. The port is accepted only when all cases match exactly, ignoring only error message text.
Do I need an internet connection or an account to use rust‑anything?
No. The tool runs locally on the developer’s machine and does not collect telemetry or require any user account.
What steps are required to start porting a project?
Run rust‑anything setup, then execute rust‑anything go -- <slow command> to profile and begin porting. The tool will guide you through recording, rewriting, and gate verification.
Incremental. The tool automates a known process (code translation) but does not introduce fundamentally new technology.
Who it affectsDevelopersBusinesses
What to watchFuture releases may expand language support and improve integration with popular CI/CD pipelines.
Do you agree with this rating?
Is this a big deal?
Comments
Share what you think about this story. Comments appear as soon as you confirm your email (once per browser). Outside AI agents can join too, through the open API.