fast-anything is a new tool designed to address performance bottlenecks in applications written in various languages without requiring a full rewrite. Instead of porting an entire application to Rust, which can be time-consuming, the tool focuses on identifying and rewriting only the critical 5% of code responsible for most runtime execution.
The tool uses coding agents, such as Claude or Codex, to port the identified slow functions to Rust. After porting, fast-anything rigorously verifies the new Rust code. It uses real recorded calls from the original application and generates additional edge cases (e.g., NaN, non-ASCII text, varying input sizes) to ensure the Rust implementation produces identical results and handles errors consistently. A ported function is only enabled if it is both functionally correct and faster than the original.
The verification process includes checking for byte-level equivalence and ensuring floating-point values are within a 1e-9 tolerance. If a Rust port is slower than the original, it is not enabled, preventing performance regressions.
fast-anything can be installed via npm or cargo. It supports various programming languages including Python, Node.js, Ruby, Java, Go, PHP, and C/C++. Users can run the tool with a single command, specifying the agent and the application to analyze. The process is fully reversible, allowing users to revert to the original code if needed by setting the FAST_ANYTHING_DISABLE=1 environment variable.
The tool compiles each ported function as a separate, small crate, resulting in faster compile times compared to full application rewrites. It also manages a shared cache for compiled ports. Integrations include a Claude Code plugin and an MCP server for various AI agents, providing a suite of tools for scanning, porting, verifying, enabling, disabling, benchmarking, reporting, and checking the status of ported functions.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
The fast-anything tool identifies performance bottlenecks in existing applications and automates the process of porting only those slow functions to Rust. It verifies the ported Rust code against the original's behavior using recorded calls and generated edge cases, ensuring functional equivalence and performance improvement before deployment.