Greg Kroah-Hartman… urged fellow contributors to embrace those interested in contributing Rust code to improve the kernel.

"Adding another language really shouldn’t be a problem… embrace the people offering to join us

Thoughts on this?

  • @[email protected]
    link
    fedilink
    English
    31 day ago

    Oh absolutely, but you could argue the same for learning lisp or mastering any functional programming language (list comprehensions, etc). It will improve your design patterns when you go back to an object oriented language with some elements of functional programming.

    • @[email protected]
      link
      fedilink
      English
      623 hours ago

      Nah it’s a different axis. Rust doesn’t have a GC, you do need to think about memory, it’s just that the compiler generally enforces things for you. You learn to think like borrowck thinks because you don’t want to get yelled at. Going back to C then you suddenly mistrust a lot of code a lot more, and rightly so.

      • @[email protected]
        link
        fedilink
        English
        320 hours ago

        Exactly. The kinds of things Rust yells at you for, you should consider changing in C as well.

    • @[email protected]
      link
      fedilink
      English
      116 hours ago

      Again from my experience, knowing lisp (yay guix and emacs) definitely helps me write more elegant code in every language.

      I also have to explain almost every single thing I write in code review.