AI Used in One-Third of Newly Written Code in US by 2024: Analysis
Key Takeaway: A new analysis reveals that artificial intelligence is on track to generate about one-third of all new code written in the United States by 2024, marking a rapid acceleration in adoption.
According to data from brokerage firm Sanford C. Bernstein, AI was used to write roughly 33% of code created in the US. The study, which analysed data from GitHub, shows a dramatic surge in AI-assisted coding over just a few years.
Rapid Growth Trajectory
The adoption of AI coding tools has skyrocketed:
- 2021: AI wrote about 10% of new code.
- 2022: Usage jumped to 20%.
- 2024 (Projected): Expected to reach 33%.
Language Preferences and Impact
The analysis found AI is being applied across multiple programming languages, including Python, Java, and C++. However, its use is most prevalent in Python development.
While still in its early stages, AI has the potential to fundamentally change software development. It enables developers to write code faster and more efficiently, while also assisting in debugging and error detection.
Concerns and Future Outlook
Despite the benefits, the rise of AI in coding raises significant concerns:
- Job Displacement: Experts fear potential job losses for human developers.
- Security Risks: There are worries that AI could be exploited to create malicious code.
Nevertheless, the trend is expected to continue its upward trajectory. As AI technology becomes more advanced and versatile, its role as a critical tool for developers is set to expand further.



