Linux people doing Linux things, it seems.

  • leisesprecher@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    Replacing C with Rust in the upstream kernel is akin to replacing the engine in a car while it’s running or being used every day.

    That’s in no way what’s been proposed. Rust is used in a very well defined niche, nobody wants to get rid of C.

    But it’s just that sentiment that got us here, you’re arguing against a non-existent threat, and thus reject the whole proposal.

    • pete_the_cat@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      I’m not rejecting it, I’m just saying that it’s very difficult to completely change the code of a critical piece of software. The long-term goal is for Rust to overtake C in the kernel (from what I understand, I’m a System Engineer, not a software dev. I know Go, not Rust) due it being memory-safe and about 30 years newer. Critical code gets left untouched (a lot of the time) because no one wants to be the one that breaks shit (and get bitched out by Linus 😂) so I’m sure there is tons of code from the early 90s that could be made better with a newer language like Rust, but it’s not as mature as C right now so that’s not going to happen for a while, if at all.