• zener_diode@feddit.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 hours ago

    It would (hopefully) have less attack surface. Electron is, after all, a whole browser, and needs to be able to do all the things a browser can do, while a native implementation can limit itself to just the very limited network interactions needed. (e.g. while XSS attacks are quite hard to do on a modern browser, a native app would make them impossible)

    • Lyricism6055@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 hours ago

      Does rust have a mature sandboxing environment similar to a browser though?

      Legit asking as I thought that was one of the selling points to electron. It also seems like one of the easiest things a shiny new app that leans heavily on Claude is probably gonna fuck up