this post was submitted on 18 Sep 2023
541 points (92.1% liked)

linuxmemes

21612 readers
1394 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 56 points 1 year ago (5 children)

    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.

    [–] [email protected] 56 points 1 year ago (3 children)

    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.

    [–] [email protected] 21 points 1 year ago (1 children)

    There's also the added CPU overhead from using JavaScript for everything to contend with.

    [–] [email protected] 1 points 1 year ago (1 children)

    As long as the program is not bloated, JavaScript can be fast. Unfortunately that's not the case with most programs.

    [–] [email protected] 2 points 1 year ago

    especially if they're proprietary...

    [–] [email protected] 7 points 1 year ago (2 children)

    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.

    [–] [email protected] 3 points 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.

    [–] [email protected] 2 points 1 year ago (1 children)

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

    [–] [email protected] 1 points 1 year ago (2 children)

    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.

    [–] [email protected] 2 points 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...

    [–] [email protected] 1 points 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 30 points 1 year ago (1 children)

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

    [–] [email protected] 19 points 1 year ago (1 children)

    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.

    [–] [email protected] 5 points 1 year ago

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

    [–] [email protected] 11 points 1 year ago (1 children)

    That's because all the important bits in VSCode are reimplemented in C++

    [–] [email protected] 3 points 1 year ago (2 children)

    You can use C++ for web technology instead of JavaScript? I'm taking a class in C++ right now so I'd be happy to swap janky JavaScript for pedantic but speedy C++ in new projects.

    [–] [email protected] 4 points 1 year ago

    VSCode is a desktop app, hence using real languages is easy. For websites there is webassembly. Try this: https://www.rust-lang.org/what/wasm