Rust lobbyists winning

  • TheDoctor [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    42
    ·
    17 days ago

    They’re currently exploring using AI to mass translate software from C to Rust, which will be hilarious if it doesn’t cause Armageddon

    • urmums401k [she/her, they/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      47
      ·
      17 days ago

      I’m actually in favor of this. It’s a really good idea, and I hope the state uses it for all the important databases they’re gonna use to put us in the camps.

      Please dont be a hater. Comrade AI might just save lives here.

    • blame [they/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      16
      ·
      17 days ago

      that seems like it wouldn’t work very well except maybe for small programs. the kinds of bugs they’re trying to catch and prevent here may need substantial changes to the program’s design in order to prevent. Like the borrow checker literally does not exist in C and it is not a thing people thought about when writing asynchronous C code. Maybe the AI will take a shortcut and write a bunch of unsafe rust code, but in that case what’s the point?

    • bobs_guns@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      16 days ago

      This won’t work completely. Large language models usually fail thoroughly when writing Rust code as there’s not as much training data.