fast-anything uses AI agents to migrate hot functions to Rust
What happened
On November 22, fast-anything hit the Hacker News front page. The tool finds an app's performance hot spots and has a coding agent migrate only those hot functions to Rust, instead of rewriting the whole app. It checks behavior matches before swapping out the original function, and the change can be reverted. Validation records up to 500 real calls, plus edge-case and reduced-input tests. The migrated version is enabled only if its results match the original and per-call time improves.
Written by AI from the coverage · updated 9 hours ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pageFast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow
fast-anything 定位应用中的性能热点,让编码智能体只将这些函数迁移到 Rust,验证行为一致后再替换,支持撤销。工具记录最多 500 次真实调用,并补充边界和缩减输入测试,只有结果匹配且逐调用耗时改善才启用迁移版本。
Heat over time
Heat now 7·Comparable peak 9(Nov 22 18:00)·Comparable change over 24 hours –
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.