The Best Programming Language for Tokenmaxxing: An Investigation of Coding Agent Behavior Across Programming Languages
Read the original on arXiv Computation and Language →The paper investigates how token consumption varies across programming languages for coding agents. Five recent models were evaluated on Python, Java, Rust, and OCaml, revealing significant differences in token usage that persist across models. Analysis of agent trajectories shows that agents often generate non‑compiling solutions in unfamiliar languages, revise passing solutions, plan in code comments, distrust provided tests, and prototype in Python to sidestep unfamiliar languages.
Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.