fast-anything open-sources AI-assisted Rust hot-path rewriting: 116x speedup by porting only the slowest 5%

udmrzn · x · 2026-11-23

The MIT-licensed fast-anything (v0.5.0) on GitHub flips the "rewrite everything in Rust" idea: profile first, record 500 real calls of the bottleneck functions, have Claude Code/Codex port only those to Rust, then replay recorded plus derived edge-case calls — replace only if results match 100% and it's actually faster, with one-click rollback.

Official benchmarks: Python 4.91s → 42ms (116×), PHP 55×, Go 21×, TypeScript 20×; a screenshot shows 103× end-to-end. Supports Python/TS/Go/PHP/Ruby/Java/C++ with a Claude Code plugin and MCP server. The post also references the author's RAEA project: React + TS code generating 1080p 90fps video, 3D scenes and playable games on local GPUs, with agents self-reviewing frames and fixing bugs.

Related event: fast-anything Open-Sourced: Rewriting Hottest 5% of Code Speeds Python 116x(2 posts)→

Original post →

More from coding & agent

coding & agent channel →