• Nora@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    10 months ago

    The AI would likely be trained or fine tuned specifically for COBOL. In these very narrow use cases AI can find some things that humans can miss.

    Google did this recently on a sorting algorithm and was able to speed it up by 70%: More info here

    • Die4Ever@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      10 months ago

      It’s cool for small and easily testable functions like sorting, but to refactor large amounts of code? No thanks. Would be great if it could leave comments on my pull request though.

        • Die4Ever@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          I thought it would leave comments on individual lines of code with feedback and code quality, but seems like it just summarizes what the pull request changes

          the summary stuff would be better if it was per file instead of overall

          • LufyCZ@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            Hm don’t think I can help you with that unfortunately.

            It’s nice for quickly seeing what a PR is about, not much more

    • Gopher Protocol@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      I suppose I shouldn’t be surprised at the negative response here, but personally this seems like the perfect application of LLMs. Yeah, it’ll need to be verified by humans, but so would human-translated code. Using an appropriately trained LLM to do the first pass translation has the potential to eliminate a lot of toil.