
少重写局部加速,不必重写整个应用
fast-anything 只重写慢函数来加速
fast-anything 是 EL4CTEO 发布的开源工具,让编程智能体只把耗时函数改写为 Rust,不必重写整个应用。工具已按 MIT 许可发布;作者称,替换代码必须通过输出一致性检查,且运行更快,才会启用。
来源
代码EL4CTEO/fast-anything: Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same.由 AI 依据原文撰写