Rust lobbyists winning

  • TheDoctor [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    32
    ·
    14 hours 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 [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      42
      ·
      13 hours 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
      13
      ·
      14 hours 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
      link
      fedilink
      English
      arrow-up
      6
      ·
      12 hours ago

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