AI's favorite coding language is also the most expensive
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.
- ▪Ruby was found to be the fastest and most token-efficient language for agentic coding tasks.
- ▪Python's performance lagged behind, primarily due to its complicated environment setup and multiple verification steps.
- ▪Standardizing the Python environment led to some improvements, but it still did not match the efficiency of Ruby.
Hacker News (AI / LLM) files mainly under ai. We currently carry 3,002 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | Hacker News (AI / LLM) |
| Canonical URL | https://everythingengineer.substack.com/p/ais-favorite-coding-language-is-also |
| Publication time | Tue, 19 May 2026 15:01:19 +0000 |
| Retrieval time | 2026-05-19T15:14:57.682Z |
| Last seen | 2026-05-19T15:14:57.682Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | unpTd-h9cwJa |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
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).