• AdrianTheFrog@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    15 hours ago

    I think it’s supposed to be that how AI turns high level instructions into code is compared to how compilers turn code into assembly. Implying that using AI is just a natural extension of the handing off work to the computers that we’ve already been doing.

    I wonder if you gave different AI models some c++ or something and told them to write assembly based on it how well they would do compared to an actual compiler

    • Axolotl@feddit.it
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 hours ago

      I highly doubt they would manage to make AI spout out good assembly, they fuck up with high level code, imagine assembly

      • Natanox@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        With sufficient (usually stolen) training data they could probably do it to a state where it’s kinda usable in an assistive manner.

        Though since these LLMs often struggle with anything that doesn’t exist in truly abhorrent abundance in its training data as well as the actual engineering part (i.e. structuring the code sensibly and consistently, which I’d wager is crutially important with Assembly to not end up with spaghetti) trying to have it generate something from scratch would probably end up in a huge mess.

        • Axolotl@feddit.it
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          I think that nowdays we don’t even have enough people to produce enough assembly code to make AI ““learn”” how to write assembly