• tsonfeir@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      You hate electron or you hate developers who make inefficient electron apps? Some examples? (Serious question, because I make electron apps)

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      If given a choice between an electron app and nothing, I choose the electron app.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    A pile of HTML + JS is the only cross platform GUI toolkit that’s practical to deploy.

    I’m not really happy about it myself, but realistically there’s not any other option than just bundling a website into a wrapper.

    And to pre-empt any replies; your proposed solution must support Windows, Linux (X11 and Wayland), MacOS, iPhone, Android, Chromium and Firefox.

  • zifnab25 [he/him, any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    geordi-no Spend 500 hours re-engineering your application for each platform

    geordi-yes Just using ten year old proven technology that’s built on a universal backwards compatible framework

  • ExLisper@linux.community
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    I though the same but I tried Tauri and it makes sense. Unlike electron you’re not shipping the entire browser with your app and the the low level stuff is just rust so the integration is nice and easy. And using webview for UI? Why not? The reactive libraries are actually nice to work with, it’s easy to customize, you have all the tools to inspect/debug your code. It’s definitely better then trying to fit GTK into rust.

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      I’m using Tauri to play around with Rust. I like it so far.

      I always thought it uses far fewer resources than electron.

        • lobut@lemmy.ca
          link
          fedilink
          arrow-up
          0
          ·
          9 months ago

          oh JS too, which kinda throws me off because I’m not bad with Web Dev, but I’m not good either and my UI looks like a bad web page than a good desktop app.

          I’m actually trying to keep it simple and write my own launcher like Alfred, Albert, Kupfer but I want it to launch my own custom scripts that I can load in a directory as well.

          • ExLisper@linux.community
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            Yeah, UI is hard. I try to use good component librarian as much as possible but actually making it look consistent is difficult.

            For the UI I’m using leptos. It’s actually very nice and using rust on both front and back means there’s couple less things to worry about.