Rust lobbyists winning

  • TheDoctor [they/them]
    ·
    9 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 [she/her, they/them]
      ·
      8 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]
      ·
      9 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@lemmygrad.ml
      ·
      7 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.