Content
summary Summary

Python has overtaken JavaScript as the most widely used programming language on GitHub, driven largely by the ongoing generative AI boom, the developer platform reports.

Ad

The shift reflects Python's growing dominance in machine learning, data science, and scientific computing. GitHub notes that Python's rise coincides with an influx of STEM developers joining the open-source community. While some worry that AI-powered coding could lead to lower-quality code in open-source projects, GitHub says it hasn't seen "signs that AI has hurt open source with low-quality contributions."

Overall, the numbers tell a clear story: contributions to generative AI projects grew by 59 percent in 2024, while the total number of AI projects nearly doubled, growing by 98 percent. While U.S. developers lead in AI contributions, GitHub is seeing more overall activity from developers outside the United States, particularly in India, Germany, Japan, and Singapore.

Image: Github

Smaller AI models gain traction

According to GitHub, developers are increasingly integrating AI models into their tool chains, with a notable shift toward smaller, more efficient models that can run locally and be embedded in mobile apps. The fastest-growing open-source AI project in 2024 was "ollama/ollama," a tool for running language models on local machines.

Ad
Ad

Beyond the focus on smaller, open models, GitHub says developers continue to show strong interest in image generation and AI agents for process automation, and are developing more specialized AI tools for specific purposes, such as academic research.

Comparison table: Top 10 public generative AI projects 2023 vs. 2024, with GitHub repository links and ranking changes.
Comparing the most popular open-source AI projects shows interesting shifts: While the top projects remain stable, new projects such as ollama and ComfyUI gain importance in 2024. | Image: Github

At its Universe 2024 conference, GitHub announced new language model integrations for its Copilot code assistant, including Anthropic's Claude 3.5 Sonnet, Google's Gemini 1.5 Pro, and OpenAI's o1-preview and o1-mini models.

With Microsoft-owned GitHub now competing with its partner OpenAI in the developer tools market, the expansion marks a strategic shift. Other programming tools like Cursor have recently gained ground by leveraging Anthropic's Sonnet model, which has become particularly popular among developers.

Ad
Ad
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.
Support our independent, free-access reporting. Any contribution helps and secures our future. Support now:
Bank transfer
Summary
  • Python has overtaken JavaScript as the most used programming language on GitHub, primarily due to the ongoing AI boom and Python's popularity in machine learning and data science.
  • Contributions to generative AI projects on GitHub increased by 59 percent in 2024, while the total number of projects rose by 98 percent, with developers from India, Germany, Japan, and Singapore being particularly active.
  • According to GitHub, the use of AI does not lead to poorer code quality in open-source projects, contrary to some fears.
Sources
Online journalist Matthias is the co-founder and publisher of THE DECODER. He believes that artificial intelligence will fundamentally change the relationship between humans and computers.
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.