• danA
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Rust is the currently most adopted C replacement

    Where’s the data you’re using to measure that?

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      https://insights.stackoverflow.com/survey/2019#technology

      This shows something else. The traditional languages are all more common than Rust.

      I suppose Go could be a good competitor, and I read a thread comparing C=Go, C++=Rust.

      I just see a lot more rust in many projects, and it is well integrated with GTK for example. I also know of several drivers and modules written in Rust.

      At least in Linux, Go seems to be used for WebTech more than for other things.

      I am interested in a discussion about that, as I would like to learn one of these languages, but Rust seems to have a better ecosystem with more adaption, ready GUI toolkits, a Linux Desktop, multiple GTK apps etc. in the making, while for example “Fyne”, Go GUI toolkit (that I found in the Flatpak “Rymdport”) doesnt even have Wayland support yet.

      • drndramrndra@lemmygrad.ml
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        This shows something else. The traditional languages are all more common than Rust.

        It’s a survey from 2019, but in those rust is traditionally the favourite language nobody uses professionally.

        I suppose Go could be a good competitor, and I read a thread comparing C=Go, C++=Rust.

        Go’s syintax is C inspired, but it’s not made to replace it, nor do they compete in the same space.

        Look at zig instead of you’re interested in that.

        I am interested in a discussion about that, as I would like to learn one of these languages

        Skip rust unless you have years to get good at it.