• RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 day ago

    I could actually see myself contributing to Rust kernel code. C code has always been impossible for me to understand, but the Rust part seems to have a more understandable structure

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day ago

      Rust code (and the ecosystem) seems to put a higher priority on describing code contracts through the type system and documentation. I personally feel you don’t need as much context to write functional code compared to C where every corner of the codebase might be hiding something that could impact the part your working on.

    • witx@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      This exactly. I always wanted to contribute to the kernel but after being a c++ dev for so many years I absolutely don’t want to do C, and rust would allow me to have fun doing kernel hacking