Anthropic 刚刚让 Claude 在一周内将其整个 API 从 Python 重写为 Rust。
(其实我惊奇的是才改么,那么python真的相当稳定了[允悲],虽然也大崩了几次)
这导致每个请求的 CPU 使用量减少 70%,内存使用量减少 80%以上,以及首 token 生成时间加快约 20%
地址:www.anthropic.com/research/migrating-api-to-rust
发布于 辽宁
