April 19, 2026
Zero copy or zero chill?
Zero-copy protobuf and ConnectRPC for Rust
New Rust tools promise speed; commenters feud over Google, broken servers, and 'not really zero'
TLDR: Anthropic released Rust libraries for faster data handling and a single server that speaks multiple gRPC-style protocols. The crowd is hyped but divided: praise for performance, digs at Google’s delays, debates over “not truly zero-copy,” and hopes this finally fixes flaky Rust gRPC setups behind load balancers.
Anthropic just dropped two Rust goodies: “buffa” for faster, low-copy Protocol Buffers (the binary format lots of apps use to talk) and “connect-rust,” a server that speaks multiple styles of remote calls (Connect, gRPC, and gRPC‑Web) on the same code. It’s already running in production, passes mountains of tests, and—plot twist—was built in six weeks with heavy AI help. The post promises fewer copies of data and fewer memory hiccups. The comments? Absolute fireworks.
One camp wants the Rust world to bless it as standard so everyone can stop reinventing the wheel. The blame brigade drags Google for moving slowly—“dropped the ball” and now there’s “risk of incompatibilities” if everyone builds their own. Meanwhile, battle-scarred engineers share horror stories about today’s Rust gRPC stack misbehaving behind load balancers—think servers throwing tantrums when traffic is retried—begging this new stack to save them. The pedants pounce: “not true zero-copy,” more like fewer allocations; if you want real zero-copy nirvana, try FlatBuffers. And then there are the tinkerers flexing their own “zero-copy-ish” libs, cheering the push for less memory churn. Verdict: big promise, bigger expectations—and the crowd’s split between “ship it,” “Google fix it,” and “it’s not really zero, bro.”
Key Points
- •Anthropic open-sourced two Rust crates: buffa (pure-Rust Protocol Buffers with editions and zero-copy views) and connectrpc (Tower-based ConnectRPC supporting Connect, gRPC, and gRPC-Web).
- •connect-rust is nominated as the canonical Rust implementation of ConnectRPC and is already deployed in production at Anthropic.
- •buffa and connect-rust passed extensive upstream conformance suites, including Google’s protobuf binary/JSON tests and ~12,800 ConnectRPC tests.
- •The crates were built in six weeks via a specification-driven process, with Claude Opus 4.6 performing most implementation under direction.
- •buffa centers on editions, integrates with buf CLI/protoc, supports no_std and feature gating, and offers zero-copy message views to reduce allocations.