跳到正文
Hacker News· BaselAshraf81·· 6 小时前AI 评分62

fast-anything:只把慢的 5% 函数移植成 Rust

Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow

AI 导读

fast-anything 工具提出不必把整个应用重写为 Rust,只定位占运行时间最多的少数函数,让编码智能体(claude、codex 等)仅移植这些函数并用最多 500 条真实录制调用逐一验证后替换,一条命令即可启用或回退。

来源:Hacker News · github.com