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.
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
Share
Recommend our article
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
THE DECODER Newsletter
The most important AI news straight to your inbox.
✓ Weekly
✓ Free
✓ Cancel at any time
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.
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: GithubAt 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 an interesting strategic shift. Other programming tools like Cursor have recently gained ground by leveraging Anthropic’s Sonnet model, which has become particularly popular among developers.
{Categories} _Category: Applications{/Categories}
{URL}https://the-decoder.com/python-becomes-most-used-programming-language-on-github-amid-ai-surge/{/URL}
{Author}Matthias Bastian{/Author}
{Image}https://the-decoder.com/wp-content/uploads/2024/11/chatgpt_python.png{/Image}
{Keywords}AI in practice,Artificial Intelligence,Github{/Keywords}
{Source}Applications{/Source}
{Thumb}{/Thumb}