Same Agent Reimplements Liquid in Rust vs C: Rust Uses 42% Fewer Tokens, C Runs 1.7x Faster

antirez · x · 2026-11-03

An experiment ('Liquid Fight Club') ran the same agent (Claude Opus 5.5, effort high, auto permission mode) to reimplement the Liquid template engine from its spec in Rust and C. Both arms passed all 6,240 in-scope specs. Key findings:

Takeaway: for agent-written code, Rust costs less overall with milder bugs; C keeps the runtime speed edge.

Original post →

More from coding & agent

coding & agent channel →