• YaBoyMax@programming.dev
    link
    fedilink
    arrow-up
    21
    ·
    8 months ago

    I’m all for some good old Rust evangelism, but I think it’s a bit of a stretch to claim that KDE is "doomed"in the absence of a migration path to Rust, and it’s not obvious to me that moving to Rust is somehow a necessity for the long-term viability of a project.

    To your point about young devs and C/C++, afaik C is still pretty standard curriculum for CS degrees at most colleges and universities. C++ maybe not so much, but I would argue that it actually has a shallower learning curve than Rust. IMO the STL is a lot easier to get a grasp on as a newer developer than Rust’s borrow checker or lifetime system.

    • Knusper@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      8 months ago

      IMO the STL is a lot easier to get a grasp on as a newer developer than Rust’s borrow checker or lifetime system.

      I actually feel like Rust’s borrow checker is more difficult to learn for experienced devs. We’ve got a trainee in Rust and for her, it’s just a normal thing that variable slots hold ownership and can lend it and get it back. She does sometimes still struggle with when to clone and when to borrow, but she’s getting there.

      As for the lifetime system, no one on our team really gets that one. 🙃
      But (that’s because) you rarely need it.