Sport

Linus Torvalds on Embracing AI in Programming

Linus Torvalds shares insights on AI's role in programming and its impact on Linux development during a recent summit.

At the Open Source Summit Europe in Prague, Linus Torvalds, the renowned creator of Linux, provided his perspective on the integration of artificial intelligence (AI) in programming. While many in the open-source community voice skepticism about AI, Torvalds believes in its potential to enhance the programming landscape, particularly for newcomers.

AI: A Tool for New Developers

Torvalds asserts that AI can be a game-changer for emerging developers. "AI can really make programming more accessible and enjoyable if used appropriately," he stated during a conversation with Dirk Hohndel from Ericsson Software Technology.

He reminisced about his early programming experiences from 1981 when simpler systems made it easier to comprehend code and the processes running behind it. Today, he observes that the complexity of modern software can be overwhelming. "The standards for software development have escalated, often leading new programmers to feel their contributions are insignificant," he explained. For Torvalds, AI serves as a bridge, helping novice developers tackle difficult tasks and experience a sense of achievement.

Responsible Use of AI

Despite his enthusiasm for AI, Torvalds emphasized a cautious approach in applying AI within significant projects like the Linux kernel. "It's essential to use AI responsibly, especially in critical areas of development," he noted. He warned that excessive reliance on AI might inundate maintainers with superfluous patches and bug reports, complicating the workflow.

The conversation turned to tools like Sashiko, the code review system that employs AI to assist in maintaining quality. Torvalds noted that many maintainers now expect patches to have undergone AI review, reflecting a growing trend toward AI integration in the development process. Yet, he cautioned that not all submissions should rely on AI oversight, underscoring the importance of a balanced approach.

Reflecting on the Evolution of Linux Development

During his discussion, Torvalds also touched on the evolution of the Linux development process over its impressive 35-year history. He noted how early development relied on straightforward tarball patches, with updates distributed directly. "I used to generate patches daily and release updates weekly, which was effective for a smaller project," he recalled.

As the Linux project expanded, manual patching became impractical. The introduction of version control systems such as BitKeeper marked a significant turning point, facilitating better collaboration among developers. Torvalds acknowledged BitKeeper's significance but also recognized its drawbacks, stating, "While it was a huge success, it had its controversies due to licensing issues."

The Birth of Git

Eventually, the licensing disputes with BitKeeper led Torvalds to develop Git, a distributed version control system that would become vital for the community. He humorously remarked that he created the first version within just 11 days. "I never expected Git to become as integral to software development as it is today," he said modestly.

Git's prevalence is evident in statistics showing that approximately 94% of developers now use it, reaffirming its status as a cornerstone tool in the industry. Torvalds emphasized that his original goal was to create a tool for Linux, not to influence software development at large.

Focus on Incremental Progress

As part of his ongoing philosophy, Torvalds advocated for incremental improvements rather than grand transformations in software. He has shifted the Linux release strategy to favor frequent updates, which has streamlined the development process. "This new model has resulted in a stable and effective rhythm for Linux over the last two decades," he explained.

Despite the growing role of AI in shaping the Linux kernel, Torvalds remains committed to fostering a consistent development trajectory. He stated, "The aim is not to chase after big features but to ensure Linux evolves steadily and reliably. AI helps refine this process, enhancing the overall experience for developers."

Tagged Sport