Linux people doing Linux things, it seems.

  • pete_the_cat@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months 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.

    • leisesprecher@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      The long-term goal is for Rust to overtake C in the kernel (from what I understand

      Your understanding wrong. Rust is limited to some very specific niches within the kernel and will likely not spread out anytime soon.

      critical code gets left untouched (a lot of the time) because no one wants to be the one that breaks shit

      The entire kernel is “critical”. The entire kernel runs - kind of by definition - in kernel space. Every bug there has the potential for privilege escalation or faults - theoretically even hardware damage. So following your advice, nobody should every touch the kernel at all.