跳到正文
Hacker News 首页swyx

Anthropic 在没有 Rust 开发者的情况下将 Messages API 迁移至 Rust

Anthropic migrated Messages API to Rust with no Rust developers

Anthropic 借助 Claude 将 Messages API 从 Python 迁移至 Rust,每请求 CPU 使用量降低约 70%,首个 token 的中位延迟减少约 20%。

推荐理由:Anthropic 将生产系统用作迁移验证器,通过差异指纹、沙箱测试和人工审核组织智能体修复,为在线服务重写提供可迁移的验证方法。

读原文 ↗导出 Markdown