What 150 replies taught about agent languages: Rust beats Python for AI-written code

fhinkel · x · 2026-10-21

fhinkel polled X on what language your agent should write in if nobody reads code anymore. Across nearly 150 replies, Rust came first, followed by TypeScript, Python, C/C++, Java/Kotlin, Go, and Wasm.

Key insight: when you're not typing every character yourself, syntax ergonomics matter less than verification loops. A strict compiler or static analyzer cannot be sweet-talked by a model — a Rust borrow checker error, TypeScript type mismatch, or clang-tidy rule gives the agent an unambiguous diagnostic it can fix in its own loop before escalating to a human. Compile times and day-two operations pull in the opposite direction.

The piece captures a fundamental shift in how language value should be ranked in the agent era: verifiability over writability.

Related event: Rust Beats Python as Top Language Choice for AI Agent Coding Era(2 posts)→

Original post →

More from coding & agent

coding & agent channel →