WeSearch

AI's favorite coding language is also the most expensive

Michael Carroll· ·6 min read · 0 reactions · 0 comments · 25 views
#programming#python#ruby#technology#ai
AI's favorite coding language is also the most expensive
⚡ TL;DR · AI summary

A recent study indicates that Ruby outperforms Python and TypeScript in agentic coding tasks. The author conducted tests to compare the efficiency and speed of the three languages, finding that Ruby was generally faster and more token-efficient. Despite improvements, Python struggled significantly in performance due to its complex environment setup.

Key facts
Original article
Hacker News (AI / LLM) · Michael Carroll
Read full at Hacker News (AI / LLM) →
Opening excerpt (first ~120 words) tap to expand

AI’s favorite coding language is also the most expensiveI ran the same agentic coding task 19 times across three languages. Ruby won on efficiency & speed. Python flunked big time.Michael CarrollMay 19, 2026ShareTrying my own rage baitAbout 3 months ago I posted a study on LinkedIn that suggested Ruby is a strong language choice for agentic coding, which got more than a few accusations of being “rage bait”.In my last post, I doubled down on the claim that AI agentic coding performs better — faster, fewer tokens — with Ruby than TypeScript and Python, the two other languages Coolhand Labs maintains packages for. Recently, I found an opportunity to quantify and test that observation. I needed to add the same, relatively straightforward, feature across all three client packages.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (AI / LLM).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments