Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow
The article advocates profiling Python, Node, or Ruby apps to identify the slow 5% of functions, using a coding agent to port only those hot functions to Rust, and proving they behave identically.
Key points
- •Focus on the 5% of functions causing performance bottlenecks rather than rewriting the entire application in Rust.
- •Profile Python, Node.js, or Ruby applications to identify the slow parts.
- •Use a coding agent to port the hot functions and prove they behave the same as the original.