fast-anything ports only your slow functions to Rust, then replays real calls to check them
Try it if a few hot functions eat most of an app's runtime: fast-anything profiles the app, has your coding agent port just those to Rust, and replays up to 500 recorded calls before swapping the port in. MIT, created Nov 21; the swap is one marked block you can disable.
The README puts the whole idea in its tagline: "Don't rewrite it in Rust. Rewrite the 5% that's slow." fast-anything profiles a running app, ranks its functions by time spent and how portable they are, and hands one function at a time to a coding agent to port. You run it as `fast-anything go --agent claude -- python app.py`. `--agent` also takes `codex`, or any command that reads a prompt on stdin.
The check is the product
Porting is the agent's job. fast-anything's job is to decide whether the port is allowed in. It records up to 500 real calls to the original function, then derives more: edge cases (NaN, ±infinity, -0.0, non-ASCII text, empty inputs and inputs up to 16× bigger) and shrunk ones. The port is enabled only if every case matches: the same values, floats within 1e-9, and errors where the original errors. A port that is correct but slower per call than the original is turned down too.
The README's own example is a port that "compared bytes instead of characters". 148 of the 500 recorded calls caught it.
Turning a port on adds one marked block to your code, and `disable` removes it "byte for byte". `FAST_ANYTHING_DISABLE=1` runs the original at any time.
What it can port
Python, JavaScript and TypeScript, Ruby, Java, Kotlin, Go, PHP, C, C++, C# and R, each with a minimum version the README lists. It ports top-level, deterministic functions that take plain data: numbers, strings, lists, dicts, typed arrays. Methods on objects mostly don't qualify, and `scan` says why a function can't move. It prefers the outermost loop it can port, so the app crosses into Rust once and not millions of times.
The speedups in the README are the project's own, mostly from one Windows desktop: 116× on a Python fuzzy dedupe, 14× in Ruby, 3× in Java, where JVM startup takes most of the time. The examples/ folder is there to reproduce them.
How new it is
The repo was created on 21 Nov. It has 13 npm versions since then, is at 0.8.6 as of today, and had 64 commits this week, 31% of all its commits from bots and coding agents. Pin a version. The npm package is MIT like the repo, and its latest version has no provenance attestation. It also ships as a crate, a Claude Code plugin and a built-in MCP server.
fast-anything was listed on openspace today, in developer-tools.
We read the README, the npm metadata, the GitHub releases and openspace's activity record, checked 24 Nov, 07:50 UTC. We did not run it, port anything, or reproduce the benchmarks.