• northbound_goat@szmer.info
    link
    fedilink
    arrow-up
    16
    ·
    3 years ago

    I don’t want to sound jaded, but I have a feeling that eventually someone will use it to run Electron apps in Flatpak on Linux compiled to WASM running on Chrome, all because portability is hard and Qt’s licensing is unpleasant.

    • wazowski@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      still hoping that rust will bring us one native gui framework to rule them all that will offload at least some of the burden from electron or whatever else js developers use 🤷‍♀️

      • blank_sl8@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        It won’t. 95% of applications would be just fine with garbage collection, and the extra complexity of Rust’s memory model will make it so that current Javascript developers never use it. Go is more likely to win (but honestly, just a more lightweight JS runtime with a more lightweight UI framework would be fine by me)

        • wazowski@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          3 years ago

          a native gui framework doesn’t necessarily mean that one will have to write the application in rust: even today, when rust gui libs are in their very infancy, some already provide bindings to other languages (js included)

          cross-platform native gui frameworks are super hard, but having a language that’s more accessible than c++, more modern and safe, will hopefully bring this closer to reality

    • blank_sl8@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      I don’t think most electron developers are there because of Qt’s license. Qt and C++ are a pain in the ass compared to JS and modern web frameworks.