Fast-Anything Tool Lets Coding Agents Rewrite Only the Slow 5% of Apps in Rust
A new developer tool called fast-anything automates the process of identifying and porting only the slowest performance bottlenecks of an application into Rust using coding agents.
Photo: Hacker News Front Page
Key points
- Fast-anything targets only the slowest 5 percent of an application for Rust migration.
- The tool uses coding agents and automated test validation to ensure functional parity.
- It supports languages including Ruby, Java, Go, PHP, C, and C++ without complex header bindings.
A developer utility named fast-anything has been released to help engineering teams optimize applications without undergoing massive software rewrites. Instead of migrating an entire codebase to Rust—a process that often demands months of engineering time, lengthy compilation periods, and massive target directories—the tool isolates the critical five percent of code responsible for the majority of runtime latency.
Automated Verification and Safety Checks
The system works by scanning applications to find top-level, deterministic functions handling plain data structures like numbers, strings, and lists. It then employs a coding agent to port exclusively those bottleneck functions into Rust. To guarantee safety and correctness, fast-anything records real application calls and replays them against the newly ported code. The tool additionally generates synthetic edge cases, testing for unusual inputs such as NaN values, infinity, negative zero, and empty arrays.
Nothing goes live until every test case achieves parity, matching both expected output values and error handling behaviors. Furthermore, the tool automatically rejects ports that prove slower due to foreign function interface overhead. Developers can integrate the system using standard command-line tools and supported coding agents, with options to instantly revert changes if necessary.
What to watch next: Watch for adoption rates among developer tooling startups and integration updates for popular AI coding assistants.
Source Hacker News Front Page — github.com/EL4CTEO/fast-anything ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
⚖️Regulation & PolicyRuneScape Developer Jagex Urges Password Resets Following Security Breach
Millions of RuneScape and Old School RuneScape accounts may have been compromised after unauthorized access exposed player emails, hashed passwords, and authenticator tok…
🏢Big TechAnthropic and OpenAI: how the enterprise AI race has shifted
Enterprise spending estimates and recent product decisions show Anthropic and OpenAI moving toward the same business customers.