A Claude Client in One C File, and the Library It Pays For
The sixth client on the hot path. C has no HTTP, so this one links libcurl and writes its own JSON scanner. The same 271 lines produced three very different...
The sixth client on the hot path. C has no HTTP, so this one links libcurl and writes its own JSON scanner. The same 271 lines produced three very different...
The fifth client on the hot path. Zig 0.17's standard library has HTTP, TLS, JSON and a TZif parser, and the static binary it produces is 488 KB with 2 MB of...
The fourth client on the hot path. Rust has no HTTP in its standard library, so this one pays for ureq and serde_json on the leaderboard. It takes the lead o...
The C# client on the hot path was written the way the templates say and sat at 7.1 ms against Go's 4.4. This one throws out HttpClient, JsonNode and Console,...
The third client on the hot path: HttpClient, System.Text.Json nodes and a StreamReader loop, published with Native AOT on .NET 10. The binary is smaller tha...
The second client on the hot path: net/http, encoding/json and a bufio scanner for Server-Sent Events, in a static binary from a scratch image. What the stan...
The fastest way from your code to Claude is one POST and one stream, and this is it in bash and curl, no jq. It launches a series: one language a week, one f...
Streaming LLM responses end to end: Server-Sent Events, a chunk protocol for tool calls, a React Native transport and a renderer that upgrades to rich content.