• SuperSpruce@lemmy.ml
    link
    fedilink
    arrow-up
    63
    arrow-down
    6
    ·
    1 year ago

    This might be a hot take but I’ve noticed some complicated electron apps are faster than some simple native apps. The striking example to me is how Vs code runs better and has a lower startup time than the stock Windows 11 File manager.

    A well written electron app is better than a poorly written native app sometimes.

    • Knusper@feddit.de
      link
      fedilink
      arrow-up
      57
      arrow-down
      2
      ·
      1 year ago

      I mean, sure, but:

      1. The Windows File Manager is really just awful in that regard. You can get alternative file managers that start up in a fraction of that time, with more features.

      2. Startup time isn’t really the worst of it. RAM usage is worse. And if a program uses lots of RAM, it will still appear quite performant. But it makes everything else on your system slower.

      • vivadanang@lemm.ee
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        1 year ago

        file manager opens instantly.

        genuinely curious, I have a shitton of networked drives and at least 7 volumes on this locally, file manager has always popped open ready to go at a click or hotkey.

        • Knusper@feddit.de
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          1 year ago

          I don’t know, man. I haven’t done a scientific study on it either.

          It was one of the reasons why I switched from Windows to Linux. On the same HDD, with same data, Windows file manager took half a minute to open, when the various Linux file managers were all instant.
          I did ‘refresh’ Windows beforehand, too, which Microsoft claims is like reinstalling. Couldn’t easily do a proper reinstall, because of OEM license horseshit.

          These days, I only really see Windows when colleagues are using it. That’s all within my company’s network drive infrastructure. Maybe it is being slowed down by that.

          That’s still proof enough for me, though, that Windows file manager is shittily coded. A proper architecture would have the UI in a separate thread from all the file operations and it should never be the case that a slow hard drive or network drive is causing the UI to appear later.

        • SuperSpruce@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Are you using the Windows 10 file manager? That one is so much faster than the new Windows 11 one.

      • SuperSpruce@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Can you recommend some third party windows file managers?

        1. Stock file manager has an okay UI (tabs are super nice) but is kinda slow, especially on battery.

        2. I tried explorer++ but its UI is clunky and it’s only slightly faster than the stock file manager.

        • Knusper@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Well, the file manager I use on Linux, Dolphin, has an experimental Windows version.
          When I learned of that a few years ago, I gave it a shot on Windows and I prefered it to File Explorer, but it’s not like I compared it to other offerings or anything like that.

          I do think that’s the best file manager on Linux and most features were working on Windows back then, so it’s not unlikely either, that it is by far the best offering for Windows. But it could also be a buggy mess. I wouldn’t know…

        • legendarydromedary@feddit.nl
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I’ve been using Double Commander for years and I love it, but the UI takes some getting used to (and the default settings aren’t great).

    • MyFairJulia@lemmy.world
      link
      fedilink
      arrow-up
      28
      ·
      1 year ago

      That’s not a compliment to Electron, that’s a heck of an indictment to Microsoft messing up the File Manager.

        • PixxlMan@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          1 year ago

          It’s legitimately hilarious to me when the creator of the OS ships web-based UI on their own operating system… Like teams on windows. Not only is it a terrible experience, slow, buggy and sluggish - it’s obviously not native - on Microsoft’s own OS! Where they’ve made all the UI APIs!

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      1 year ago

      I mean sure once you start getting big enough, you’d probably be bundling all the features of chromium anyways, and any extra bloat is meaningless. Chromium and thus electron are extremely well optimized so if you are using the full feature set it will be fast.

      But please stop using vscode as the benchmark electron app. It is not comparable. No other application in history has as large of a talent pool as vscode and It’s possible none ever will either.

      • dukk@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Yeah, VS Code is insanely optimized. No other Electron app is even going to try to reach that level.