FrontierThe story, in brief

Dynamic Languages Faster and Cheaper in 13-Language Claude Code Benchmark

Ruby, Python, JavaScript beat statically-typed languages by 1.4-2.6x on Claude Code. Cost: $0.36-$0.39 per run.

Illustration of a transparent lens revealing connected networks across layers of paper.
Exploring the next frontier of AI research.AI illustration by KeyNews
The KeyNews take

Why it matters

Claude's code generation efficiency varies dramatically by language choice—dynamic languages are significantly cheaper and faster, shifting the calculus for enterprise AI coding tools and developer productivity ROI.

The key facts

6 to know
  1. 600-run benchmark across 13 languages

  2. Dynamic languages (Ruby, Python, JavaScript): $0.36-$0.39 per run

  3. Statically typed languages cost 1.4-2.6x more

  4. Type checkers impose 1.6-3.2x slowdowns on dynamic languages

  5. Test case: simplified Git implementation

  6. Benchmark dataset publicly available on GitHub

Go to the source

InfoQ AI/MLinfoq.com

Publisher excerpt: A 600-run benchmark by Ruby committer Yusuke Endoh tested Claude Code across 13 languages, implementing a simplified Git. Ruby, Python, and JavaScript were the fastest and cheapest, at $0.36- $0.39 per run. Statistically typed languages cost 1.4-2.6x more. Adding type checkers to dynamic languages…
Read original report
Back to today's editionMore frontier news

Keep reading

Related stories

More from Frontier