Linux 创始人 Linus Torvalds 在邮件列表中公开支持在内核开发中使用 AI 工具,强调"Linux 不是反 AI 项目",并称将作为顶级维护者坚持这一立场,反对者可以 fork 或离开。
争议源于 Linux 基金会推出的 AI 代码审查系统 Sashiko,它通过定制提示词自动审查内核补丁。 Torvalds 表示内核项目决策基于技术价值,而非对新工具的恐惧。
在一封发给 Linux 内核邮件列表的电子邮件中,Linus Torvalds 强烈支持在 Linux 开发中使用 AI 工具。
Torvalds 写道:“Linux 并不是那些反 AI 项目之一”,并补充说,他“作为顶级维护者会在这一点上坚定立场”。任何有异议的人“可以做开源的事情,分叉它。或者干脆离开。”
此声明正值围绕 Sashiko 的争论中:https://github.com/sashiko-dev/sashiko,这是一个用于 Linux 内核的 AI 驱动代码审查系统。Sashiko 使用针对内核定制的提示和自身的协议来自动审查提议的代码更改。该工具可以直接从邮件列表或本地 Git 仓库导入补丁,并可与多个大型语言模型提供商协作。它是 Linux 基金会的一个项目。广告
Torvalds 的评论是由开发者 Roman Gushchin 的批评引发的,他指出一些人持有“非常反 LLM 的总体立场”,这一立场正在削弱 Sashiko 让维护者工作更轻松的目标。广告 DEC_D_Incontent-1
Torvalds 承认一些相关人员有反 LLM 的态度,但明确表示这并不代表 Linux 内核的立场。他说 AI “显然是有用的”,即使今年之前这一点不那么明显。
Torvalds 写道:“任何怀疑这一点的人显然实际上还没有使用过它。”他承认 AI 也可能“带来痛苦”,例如给维护者增加额外工作,或发现“令人尴尬的错误”。但解决办法不是“把头埋在沙子里,并大声唱‘啦啦啦,我听不到你’”。广告
Torvalds 说 AI 并不完美,但人类智力也不是完美的。没有人被迫使用它。不过,他会“非常大声地忽视”那些试图劝别人不使用 AI 的人。内核项目基于技术优点做决策。“而不是对新工具的恐惧。”关于如何使用 Sashiko 的内核维护者指南:https://github.com/sashiko-dev/sashiko/blob/main/MAINTAINERS_GUIDE.md 可在 GitHub 上获取。
保持对 AI 的关注。清晰、有用,无废话。
关注 The Decoder 获取 AI 新闻、背景故事和专家分析。
The Decoder:https://the-decoder.com/
In an email to the Linux kernel mailing list, Linus Torvalds came out strongly in favor of using AI tools in Linux development.
"Linux is not one of those anti-AI projects," Torvalds wrote, adding that he would "absolutely put my foot down as the top-level maintainer" on this point. Anyone who has a problem "can do the open-source thing and fork it. Or just walk away."
The statement comes amid a debate over Sashiko:https://github.com/sashiko-dev/sashiko, an AI-powered code review system for the Linux kernel. Sashiko uses prompts tailored to the kernel and its own protocol to automatically review proposed code changes. The tool can import patches directly from mailing lists or local Git repositories and works with various LLM providers. It's a Linux Foundation project. Ad
Torvalds' comments were prompted by criticism from developer Roman Gushchin, who pointed out a "very anti-LLM position in general" that was undermining Sashiko's goal of making maintainers' work easier. Ad DEC_D_Incontent-1
Torvalds acknowledged the anti-LLM stance of some people involved but made clear it doesn't represent the Linux kernel's position. AI is "clearly a useful one," he said, even if that had been less obvious a year ago.
"Anybody who doubts that clearly hasn't actually used it," Torvalds wrote. He acknowledged that AI could also be "painful," such as creating extra work for maintainers or finding "embarrassing bugs." But the answer isn't to "put your head in the sand and sing 'La La La, I can't hear you' at the top of your voice." Ad
AI isn't perfect, Torvalds said, but neither is human intelligence. No one is forced to use it. He will, however, "very loudly ignore" people who try to talk others out of using it. The kernel project makes decisions based on technical merits. "Not fear of new tools." A guide for kernel maintainers:https://github.com/sashiko-dev/sashiko/blob/main/MAINTAINERS_GUIDE.md on working with Sashiko is available on GitHub.
Stay in the loop on AI. Clear, useful, no fluff.
Follow The Decoder for AI news, background stories and expert analyses.
The Decoder:https://the-decoder.com/