AI Tools Are Reshaping Developer Language Choices

New data from GitHub reveals AI code generators are creating "convenience loops" that influence which programming languages developers use. Developers are increasingly favoring languages like Swift where AI tools provide the best suggestions, reinforcing the dominance of certain tech stacks.

The "convenience loop" is a direct result of how AI models learn: they are better at writing code for languages they have seen the most. This creates a feedback cycle where developers using AI gravitate towards languages with the best AI support, which in turn generates more training data for the AI in those languages, further solidifying their dominance. According to GitHub's 2025 Octoverse report, this trend propelled TypeScript to become the most-used language on the platform for the first time in August 2025. The language saw a 66% year-over-year growth in contributors, directly attributed to its strong type system which provides the clear constraints that AI code generators thrive on. This shift isn't just about speed; it's about reliability. A 2025 academic study found that 94% of compilation errors from LLMs were type-check failures, which statically typed languages like TypeScript can catch before code enters production. This makes AI-generated code in these languages more trustworthy for development teams. While TypeScript has surged, Python remains the undisputed leader for AI and data science projects. In 2025, Python accounted for nearly half of all new AI repositories on GitHub and had 2.6 million contributors, a 48% increase from the previous year. Its extensive ecosystem of libraries for model training and prototyping remains unmatched. For developers in the Apple ecosystem, the landscape is more complex. While AI tools for Swift exist and can assist with learning the language and generating SwiftUI code, they are less mature. Major code generation evaluation benchmarks are heavily skewed towards Python, with multilingual benchmarks often containing critical flaws in their Swift components that can confuse LLMs. This AI-driven trend creates a significant hurdle for newer or niche programming languages. Without a massive existing codebase for AI models to train on, they receive poorer quality AI assistance, which discourages adoption. This makes it difficult for new languages to break into the "convenience loop" enjoyed by established languages like TypeScript and Python.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.