rust-anything verifies incremental Rust rewrites against original behavior

17 11 2026
rust-anything verifies incremental Rust rewrites against original behavior

rust-anything is a CLI for incremental migration of TypeScript, Python, Go, or Java apps to Rust. It profiles your code to find hot paths, generates a bridge for the new Rust functions, and records original behavior to verify the rewrite. Benchmarks show specific workloads like slugification improving by 3x to 20x compared to the original implementation.

It is worth trying if you have a slow, well-defined loop in a large codebase and use an AI agent to write the code. The tool does not translate code for you, so you still handle the Rust implementation. It only verifies against the specific cases recorded during profiling, meaning unrecorded edge cases may slip through.

more: https://github.com/erkamyaman/rust-anything

my other side: ivo.blogspot.com


Actions

Information

Leave a Reply