fast-anything profiles a running Python, Node, Ruby, Java, Go, PHP, C, C++ or C# application, ranks the functions by time and how easy they are to move, and hands the slowest portable ones to your coding agent. The result is a small Rust crate that replaces just those functions. Nothing else in your codebase changes, and every step is reversible. The FAQ and the usage steps cover the whole loop.
Download fast-anything 0.6.2 for Windows
fast-anything.exe once to see the command list. No setup program is involved.fast-anything doctor to check the runtimes, Rust, and any agent you plan to use.fast-anything go --agent claude -- python app.py. Node, Ruby, Java, Go, PHP, C, C++ and C# entry points work the same way.TASK.md and let the agent write the port, then run fast-anything verify to replay every recorded call against the Rust build.fast-anything enable switches the port on, and fast-anything disable takes it back out again.The first run records up to 500 real calls from your app. A port is enabled only when all of them match, including derived edge cases, and only when it is actually faster per call. If SmartScreen complains about the download, choose More info → Run anyway; open source builds are usually unsigned.
| Language | Runtime | Binding |
|---|---|---|
| Python | 3.10+ | PyO3 |
| JavaScript / TypeScript | Node 22+ | napi-rs |
| Ruby | 3.3+ | C ABI with JSON, via Fiddle |
| Java | 22+ | C bridge, via the FFM API |
| Go | 1.22+ | C bridge, via cgo or the Windows loader |
| PHP | 8.1+ | C bridge, via FFI |
| C / C++ | gcc, clang or icx | C bridge |
| C# / .NET | 8+ | C bridge, via NativeLibrary |
It ports top-level deterministic functions that take plain data: numbers, strings, lists, dictionaries and typed arrays. Classes, closures and anything with side effects are left alone, and scan explains why.
| Windows | 10 or 11, 64-bit |
|---|---|
| Rust | Current stable toolchain from rustup |
| Your app | The runtime it already uses, plus its usual dependencies |
| Agent | Optional: Claude, Codex, or any command that reads a prompt on stdin |
| Disk | A few hundred MB for the shared .fast/target cache |
FAST_ANYTHING_DISABLE=1 runs the original code at any time.EACCES on macOS and Linuxbuild will not enable a port whose Rust changed after verificationdoctor checks minimum runtime versions and PHP’s FFI extensiongo --agent retries a right-but-slower port once and keeps the best attemptverify --all re-checks every port; MCP clients get progress notificationsfast-anything is hosted here for educational and archival reasons. It changes how your own application runs, so test a port before shipping it. The maintainers publish the source code on GitHub under the MIT license.