Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Linux

Linus Torvalds Discusses Maintainers, AI, and Rust in the Kernel (zdnet.com) 31

ZDNet reports that "At the Linux Foundation's Open Source Summit Japan, Linus Torvalds and his good friend Dirk Hohndel, the head of Verizon open source, talked about the current state of Linux: Speaking of maintainers, Hohndel brought up the question of "maintainer fatigue and how draining and stressful this role is...." Torvalds replied, "It's much easier to find developers; we have a lot of developers. Some people think that you have to be a superdeveloper who can do everything to be a maintainer, but that's not actually true...."

Hohndel commented that the aging of the kernel community is a "double-edged sword." Torvalds agreed, but he noted that "one of the things I liked about the Rust side of the kernel, was that there was one maintainer who was clearly much younger than most of the maintainers. We can clearly see that certain areas in the kernel bring in more young people...."

Hohndel and Torvalds also talked about the use of the Rust language in the Linux kernel. Torvalds said, "It's been growing, but we don't have any part of the kernel that really depends on Rust yet. To me, Rust was one of those things that made technical sense, but to me personally, even more important was that we need to not stagnate as a kernel and as developers." That said, Torvalds continued, "Rust has not really shown itself as the next great big thing. But I think during next year, we'll actually be starting to integrate drivers and some even major subsystems that are starting to use it actively. So it's one of those things that is going to take years before it's a big part of the kernel. But it's certainly shaping up to be one of those."

Torvalds also said he enjoyed the fact that open source "has become the standard within the industry."

But later Hohndel, calling AI "autocorrect on steroids," asked Torvalds if he thought he'd ever see submissions of LLM-written code. "I'm convinced it's gonna happen. And it may well be happening already, maybe on a smaller scale where people use it more to help write code." But, unlike many people, Torvalds isn't too worried about AI. "It's clearly something where automation has always helped people write code. This is not anything new at all...."

But, "What about hallucinations?," asked Hohndel. Torvalds, who will never stop being a little snarky, said, "I see the bugs that happen without AI every day. So that's why I'm not so worried. I think we're doing just fine at making mistakes on our own."

This discussion has been archived. No new comments can be posted.

Linus Torvalds Discusses Maintainers, AI, and Rust in the Kernel

Comments Filter:
  • by dfghjk ( 711126 ) on Saturday December 09, 2023 @02:53PM (#64069061)

    Why would Torvolds be concerned about AI-generated code in the kernel? Maintainers scrutinize code submissions, that's what makes the job hard. It doesn't matter where good code, or bad code, comes from, what matters is the code is judged on its merit.

    • by Striek ( 1811980 ) on Saturday December 09, 2023 @03:09PM (#64069113)

      It'll get really interesting when it's AI that's doing the judging.

      And it will happen, to some degree, eventually.

    • I think he is commenting about the AI-generated code as of today. He thinks it will happen but right now AI is prone to hallucinations and code quality may not be good enough yet.
      • by gweihir ( 88907 )

        Funny thing: For statistical models (what drives the current hype), hallucinations cannot and will not go away.

    • by martin-boundary ( 547041 ) on Saturday December 09, 2023 @07:38PM (#64069613)
      It's more than that. Maintainers are also social gatekeepers. Some rando can create a purely AI generated code and try to submit it, but eventually there's a backlash based on the non-existent quality of the code and the time wasting that happens when reviewers are forced to wade through AI generated garbage. This backlash hits not the AI itself, which is just a thing and doesn't care, it hits the human submitting the AI generated code. So the human gets a bad reputation, is sidelined, and becomes a conspiracy nut complaining that his ideas are not being listened to and whine whine whine.
    • by gweihir ( 88907 )

      AI generated code could, and will likely have, much more subtle defects and vulnerabilities than regular code. That comes from the deceptive nature of the currently hyped type of AI: It is quite good at projecting a sense of competence while being completely clueless and a sense of correctness while generating excellently looking bullshit.

      With a regular crap developper (the usual kind), you can immediately tell they are not good at it because they make basic mistakes. With AI, those clues fall away.

      • Human-generated code can have subtle defects and vulnerabilities just through accidents.

        If there is a risk of AI-generated code being more vulnerable, it is only because the AI code generator is not intelligent. It might mix code samples which were given to demonstrate a vulnerability, or even code from an obfuscated programming contest, if it somehow got into the training data.

        On the other hand, a human might do the same thing and not even know it. "I saw this code somewhere, but can't remember where"...

  • He wouldn't rust in the kernel if he kept it properly lubricated... Just sayin'

  • [unsureifjoke]Please don't put AI in the Kernel. The last thing anyone needs is hallucinated optimal setings.[/unsureifjoke]
  • If Rust goes in the kernel, how will it handle process suspension, because, as we all know, Rust Never Sleeps

    • by gweihir ( 88907 )

      Well, I for one, plan to drop Linux if Rust should ever become mandatory in the Kernel. These people are hallucinating about what their shiny new tool can do.

  • The potential problem with Rust in the kernel, imho, is that the number of potential Rust devs is significantly smaller that that of C or C++ devs (according to the internet, Rust = 0.5 * C++). A related problem is man-years of experience.

    Might not matter if you have $inftinity to hire devs, but if they have to work for free...

Technology is dominated by those who manage what they do not understand.

Working...