Most apps spend their runtime in a handful of functions, but rewriting everything in Rust is months of work, long compiles, and plenty of risk. Fast-Anything, a tool from EL4CTEO, takes a different approach: profile your app, port only the slowest 5% of functions to Rust—with help from a coding agent like Claude or Codex—and verify those ports on real recorded calls before swapping them in. The rest of your code stays untouched.
You install Fast-Anything globally with npm or Cargo. It supports Python, Node, Ruby, Java, Go, PHP, C, C++, and C#—anything that can call C. The workflow is a single command:
fast-anything go --agent claude -- python app.py
Or swap in your stack: node app.ts, java App.java, php app.php, etc. The agent can be Claude, Codex, or anything that reads prompts from stdin. If you want to use a different agent, Fast-Anything generates a TASK.md describing what to port.
Proof before swap-in
Fast-Anything doesn't just trust that the ported Rust code is correct. It records real calls to the target functions, generates additional edge cases (NaN, ±infinity, non-ASCII, empty and large inputs, tiny slices), and runs both the original and the port against them. Every case must match—values (floats within 1e-9), error behaviour, and performance per call. If the Rust port is slower, it doesn't get enabled. You can always run the original with FAST_ANYTHING_DISABLE=1.
How the port works
Rather than porting a tiny inner function and paying the overhead of crossing into Rust millions of times, Fast-Anything tries to port the outermost loop it can. This means your app crosses the language boundary once per hot path, not per iteration. In the Levenshtein example, porting only the inner function gave 35× and 1.9× speedups, but porting the loop can do better.




