this post was submitted on 18 Sep 2023
29 points (91.4% liked)

linuxmemes

21210 readers
43 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!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 3 points 1 year ago (2 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] 1 points 1 year ago (1 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] 2 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] 0 points 1 year ago (1 children)

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

    [–] [email protected] 0 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] 1 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