The Hot Path to Claude in Python, With and Without the SDK
The same language twice on the board. A client in one Python file on http.client and json takes 140 ms on the path. The official SDK, written the way its doc...
The same language twice on the board. A client in one Python file on http.client and json takes 140 ms on the path. The official SDK, written the way its doc...
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...
A test harness for what a model reads from an MCP server: the tool contract kept as a file, saved tool results, and real conversations recorded once and repl...
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...