• franzbroetchen@feddit.org
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    13 hours ago

    “Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”

    Easy to achieve if the ai just wraps all code in an unsafe block ^^

    • lemmeLurk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      Honestly migrating from one language to another night actually be one of the best use cases for AI, if you don’t change the architecture much it should be doable especially if it’s a well tested codebase.

      • franzbroetchen@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 hours ago

        Maybe if the languages are very similar. If you convert C to Rust using AI it might work well but will most definitely not leverage the unique features of Rust. Might as well stay with C in that case. Migrating from an object oriented language like C++ to a language with another paradigm (such as Rust) will most likely produce a burning pile of shit

    • Ⓜ3️⃣3️⃣ 🌌@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      4
      ·
      11 hours ago

      That’s funny because using unsafe might be an hint that Rust is not the right tool for the job. Yet we have rust in the kernel, rust coreutils… I just can’t wrap my head arout it, yet.