What will happen if the Linux kernel starts having AI generated code in it?

  • draco_aeneus@mander.xyz
    link
    fedilink
    arrow-up
    4
    ·
    7 hours ago

    We cannot know, in the same way we cannot know that it doesn’t contain code that is hand-written on graph paper and scanned in via OCR.

    The standards for code submissions for the kernel are extremely high, and their review process very strict and complete. There are no barriers stopping LLM generated code from entering the code base, but the barrier of entry for the code quality itself is so high that you have to submit code at the quality of a seasoned and competent engineer.

    Ultimately, does it matter that the code was LLM written if the quality is sufficiently high?

    • village604@adultswim.fan
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Exactly. AI generated code is only a bad thing if it’s blindly pushed to production without any sort of review. A lot of the use of AI in coding is to do the simple mundane work that an entry level dev could do.

      • otter@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        Oh, I need a bunch of slightly different unit tests to cover a bunch of different cases. {AI} write the unit tests for me to review.

        This is my main use case that ends to saving a lot of time not writing boilerplate code.