• Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage
  • RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
  • Kynn@jlai.lu
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    2 days ago

    Tauri is the way to go ; so that every app doesn’t each embed another web browser that makes for 90% of the file size.

    • Orygin@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      Tauri doesn’t automatically make apps perform good. Easy and common pitfalls still can make it go to a crawl just like electron.
      Yaak is an example of a tauri app that performs horribly, and that can’t reach a satisfactory 30fps on modern hardware. The issue is within how tauri interacts with the js world and syncs state.

      • Kynn@jlai.lu
        link
        fedilink
        English
        arrow-up
        15
        ·
        2 days ago

        In Tauri, the rust backend is the glue between web/js and OS functions. Yet you don’t need to do any rust code, it’s delivered ready.

        • dogs0n@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          If your app interfaces with the OS, like most apps would (reading a file, managing the window, etc), then you would be writing rust, no?

          • Kynn@jlai.lu
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 days ago

            Let’s say you are a webdeveloper trying to package your js app into a executable.

            Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable.

            You can literally never write rust code while using tauri.

            But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code.