Mozilla seems to be asleep at the wheel, when it once drove online activity and communications. We have some suggestions where it could go.

  • @rockSlayer@lemmy.world
    link
    fedilink
    9
    edit-2
    9 months ago

    I’ve never heard of Tauri before, and it’s almost exactly what I would hope for from mozilla, and perfect for some of the apps I want to make. Ty!

      • SALT
        link
        fedilink
        English
        19 months ago

        Do you have a pros and cons between tauri and electron? Thank you

        • I’ll just describe how they work, and you can decide the pros and cons for yourself.

          Electron:

          • bundles browser with the app, so the dev can control exactly the version of the browser they’re shipping
          • language is JavaScript
          • quite stable from a development perspective

          Tauri:

          • uses system browser (Edge on Windows, Safari on macOS), so the browser gets updated with the system, not the app
          • language is Rust
          • younger project, but it’s also a relatively simple project

          I want to move our app to Tauri because:

          • we need to refactor anyway because recent versions of Electron break our app
          • install size is large, and we could refactor the web app to be offline-ready instead of relying on Electron features
          • Tauri gets security updates for the browser “for free,” so we could have our app “auto update” by just being a PWA
          • if we add desktop-specific features (e.g. move some of our computation to the FE), it won’t be in JS, so Rust offers better options (i.e. threading)

          So since we don’t need the features Electron offers, I want to use Tauri to reduce our maintenance overhead.