Speed up only the slow part of your app
A new free tool finds the slowest functions in your program and asks your AI coding assistant to rewrite only those in Rust, a fast language. It replays real calls to check the results match and keeps the swap off unless every case passes. You can switch back at any time.
fast-anything is an open-source tool, shared on 22 November, built on a simple idea: don't rewrite a whole program in Rust, only the 5 percent that is slow.
It measures your app and ranks the slowest functions. Your AI coding assistant then ports one function at a time. The tool records real calls, replays them against the new version, and only turns it on if every case matches and it isn't slower.
The project says it works with Python, JavaScript, Ruby, Java, Go and several other languages, and that each change can be undone. Its README reports one Python example going from 4.91 seconds to 42 milliseconds on the author's computer.
That's a single example from the authors, so test it on your own code before trusting it.
New to this? The key idea
Most of a program's run time is usually spent in a small number of functions, like a few slow checkout lanes holding up a whole shop. Profiling means measuring which ones those are. You then speed up only those and prove the new version gives identical answers.
Use it at work
Use it for: backend and performance engineers with a slow Python, JavaScript, Ruby, Java, Go or similar app, who want a speedup without rewriting everything.
Try it: install and run, as shown in the README:
npm i -g @el4cteo/fast-anything # or: cargo install fast-anything
fast-anything go --agent claude -- python app.py
Scanning needs only your app's runtime. Porting needs Rust via rustup, and fast-anything doctor checks both. Set FAST_ANYTHING_DISABLE=1 to run the original code.
Before you roll it out: MIT licence, no fee for the tool. The page does not say what data goes to the coding agent you choose (Claude, Codex or another command), so check that first. Only top-level, deterministic functions that take plain data can be ported. Verification replays up to 500 recorded calls. The 4.91 seconds to 42 milliseconds figure is one example on the author's computer, so test on your own code.
Summaries are written by AI from the linked source. Always check the original.