Linus Torvalds on AI-assisted kernel contributions

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

“What this is about is setting our expectations, telling what we want and what we don’t want.” No. What you are about is something entirely different. It has nothing to do with “expectations”, and it has everything to do with your hangups.

“这关乎设定我们的期望,说明我们想要什么以及不想要什么。”不。你所关心的完全是另一回事。这与“期望”毫无关系,而完全是你个人的心理障碍。

I don’t understand this whole idiotic concept of “don’t use AI for X”. Here’s a new rule just for you: don’t use compilers for any of your kernel submissions. Because if you can’t show that you really understand what the machine is actually doing by writing your code in assembler, then I don’t want to see your code contribution. You clearly aren’t competent if you can’t write it that way.

我不理解这种“不要在某事上使用人工智能”的愚蠢概念。这里有一条专门为你制定的新规则:不要在你的任何内核提交中使用编译器。因为如果你不能通过编写汇编代码来证明你真正理解机器在做什么,那么我就不想看到你的代码贡献。如果你不能那样写,显然你是不称职的。

And btw, you had better not use an editor to write that commit message either. Because I need you to show me that you can actually write a good commit message without using tools that make it easy to backspace and hide the mistakes you made while typing. Ok? Because otherwise those tool-assisted commits of yours clearly aren’t showing that you know what you are doing.

顺便说一句,你最好也不要使用编辑器来编写提交信息。因为我需要你向我证明,你可以在不使用那些让你轻松退格并隐藏打字错误工具的情况下,写出一份好的提交信息。好吗?因为否则的话,你那些工具辅助的提交显然无法证明你清楚自己在做什么。

Do you not see how UTTERLY STUPID those kinds of rules would be? So no. We’re not going to make stupid rules that say “you can’t use tools for X”. The kind of expectations I have is that people do their best and I expect people to understand what they are doing. But that understanding has very little to do with what tools they use. And quite honestly, in my experience, the people I respect and call intelligent are not the ones that shy away from using new and interesting tools.

你难道看不出这类规则是多么的极其愚蠢吗?所以,不。我们不会制定那种说“你不能在某事上使用工具”的愚蠢规则。我的期望是人们尽其所能,并且我期望人们理解他们在做什么。但这种理解与他们使用什么工具几乎没有关系。老实说,根据我的经验,我所尊重并称之为聪明的人,绝不是那些回避使用新奇有趣工具的人。