Fullstack GUI library for web, desktop, mobile, and more. In Rust using a HTML + CSS renderer built on top of Servo.

  • Ethan@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    21 days ago

    I seriously doubt that a dual-language platform is ever going to supplant Electron. Electron has the major advantage that the entire app is written in one language. And according to Stack Overflow’s 2023 developer survey, 66% of devs use JavaScript, 45% use Python, 43% use TypeScript, and 12% use Rust. More devs use Java, C#, C++, PHP, and C than Rust. So 2/3 of developers wouldn’t have to learn a new language to use Electron, and only a small fraction of the remainder knows Rust.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      20 days ago

      It’s not a dual-language platform, though. You write the backend and the frontend in Rust. The frontend code is compiled to WASM to serve it to the browser.

        • rdri@lemmy.world
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          20 days ago

          The folks who only know JavaScript and refuse to learn more deserve to be blamed for electron’s (and similar) continued existence, and therefore for excessive resource usage.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      21 days ago

      I think this is a bit of a backwards way to look at it. If there is a good reason to learn a language then people will.

      Not that this platform is necessarily that reason.