• Beej Jorgensen@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    Discord’s Rust port actually seems to back Brooks up, to my thinking. What percentage of the total cost of deployment of all of Discord is represented by that port? And what percentage of the total cost of deployment of all of Discord would it have been if it had been fully human-written? 1%?

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      4 days ago

      And what percentage of the total cost of deployment of all of Discord would it have been if it had been fully human-written? 1%?

      No, way way more. Programmer costs are huge. Discord is private so we can’t check but I wouldn’t be surprised if their staff costs are more than their hosting costs.

      Have you ever tried suggesting rewriting mature software in another language? Before AI that was a major major enterprise and the answer was almost always no. It was so much of a huge risky endeavour that large companies like Google and Facebook end up writing entirely new languages just to make it easier.

      There’s a reason they didn’t do it before AI.

      • Beej Jorgensen@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        So what percentage of the total Discord cost do you think the human port would have represented? (Keeping in mind they’ve spent somewhere around $1 billion so far.)

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          4 days ago

          Probably would have been something like 100 programmers for 5 years, so on the order of $200m. But that’s not all, there’s a pretty good chance the project would fail, and they’d give up (that happens quite frequently with rewrites), and it would negatively affect the existing client for all that time, and it would likely launch without full feature parity.

          There’s just no realistic world in which that would have been approved, pre-AI. And guess what? It wasn’t!

          • Beej Jorgensen@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            4 days ago

            I think 500 programmer years is a pretty heavy overestimate for writing a Discord client in Rust–especially considering how far unsupported third-parties have made it on their own in far, far, far, far less time.

            But even if we run with that figure, the absolute most you’ve gotten with AI is a 20% savings on the overall.