A New Perspective on AI in Coding

Linus Torvalds, the creator and primary maintainer of the Linux kernel, recently offered a nuanced take on the role of artificial intelligence in the programming world. Speaking at the Open Source Summit in Prague, Torvalds framed AI as a transformative tool that could reshape how new developers enter the industry.


Lowering the Barrier for Beginners

Torvalds believes that the modern programming landscape can be intimidating for juniors. While he recalls his own early projects as being of low quality, he notes that back then, the general standards were less demanding. Today, beginners often feel discouraged when comparing their initial efforts to the highly polished professional work that dominates the ecosystem.

In this context, Torvalds views AI as a beneficial catalyst:

«People love to hate AI. I think it's an interesting tool, very useful. It's a gateway drug and a way to do really good code.»

He argues that AI lowers the entry barrier, making the learning process more enjoyable and accessible. However, he warns that AI should primarily be used for personal or "toy" projects initially. For "serious" work, developers must possess a deep understanding of their goals to ensure that the AI-generated results are accurate and reliable.


The Challenge of AI-Generated Noise

While optimistic about education, Torvalds remains critical of how AI impacts the Linux development workflow. He noted that the Linux security mailing lists have become increasingly difficult to manage due to a massive influx of automated, AI-generated vulnerability reports.

According to Torvalds, many of these reports are redundant or focus on obsolete code that is no longer in use. He described the situation where AI bots, asked to find issues like memory leaks, flag problems in drivers that haven't been touched in decades. This creates significant overhead for maintainers, who are forced to sift through mountains of irrelevant data to find genuine security concerns.


Fighting Bots With Bots

The strain on project maintainers has become a critical issue, with many discussions at the recent maintainer summit focused on mitigating this stress. Surprisingly, the proposed solution isn't to reduce the use of AI, but to leverage it further.

Torvalds explained the irony of the current situation:

«We are, to some degree, fighting the AI deluge of patches with our own AI deluge of patch reviews. People are jokingly saying that there are bots talking to bots, and it does actually happen.»

Ultimately, while AI introduces significant management hurdles, Torvalds acknowledges that, on the whole, these tools are contributing to the improvement of the Linux codebase.