• fedcon
      link
      fedilink
      5
      edit-2
      8 months ago

      Rust wouldn’t necessarily make it more responsive. It is more oriented towards safety and robustness.

      Cosmic might be more responsive / efficient due to the fact that it’s a new development and they can choose to implement things better and not carry old baggage, but that’s about it. Rust doesn’t have much say in it.

      Edit: Although, if they are moving away from JavaScript in Gnome as their shell language to pure Rust in Cosmic, then you would probably see some responsiveness / efficiency gains, yes.

    • Michael Murphy (S76)OP
      link
      fedilink
      English
      4
      edit-2
      8 months ago

      Synthetic benchmarks written in Rust are as fast as those in C. In practice, Rust applications are more efficient than their C counterparts. The performance and efficiency is nice, but the main benefit will be stable software that is free of vulnerabilities caused by common mistakes in C and C++. Virtually every Curl vulnerability would not happen in Rust.

      There’s half of a century of programming language theory research between C++ and Rust. Which solves many of the issues in programming that are common in C and C++. Such as the memory and thread safety violations that can be difficult to diagnose, application crashes, and critical software vulnerabilities.

      The language concepts and compiler features also prevent a lot of common logical mistakes a programmer may make. Such that the best practices in C++ are the baseline for any Rust project that successfully compiles. It is easy to develop highly parallel and asynchronous software that just works and is easy to maintain and debug. As a result, you may notice Rust projects developing to maturity much quicker than you’d expect.