• yoriaiko@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    I’m no programmer nor coder or such, I call myself advanced user only.

    If having part of an app (I refer app as OS here, and start menu as part of an OS) to spike CPU/memory usage, does that means that part is not being used without being called? and leaves resources fully free? Sure big spike happen when the sub-part is called, but without being called?

    IF part of an app is not even loaded while not used, isn’t that actually good? I mean, depends how often that app part is called and have to load from the void.

    I imagine that could be better than having unused part loaded all the time, wasting the resources?

    Also, I totally skip part of poorly coded compared to old smooth and optimized code.

    • Yes, all things being equal, your understanding is valid. But let’s do a car comparison.

      You have your current car. It burns a little gas running idle, and much more when you’re using the gas pedal to accelerate.

      Now you buy a new, Windows 11 car, and it not only burns more gas idling, but when you accelerate it sucks down so much gas you can watch the gas meter go down.

      The outrage is that the OS is so badly designed and implemented, something you do a lot causes everything else on your computer to slow down, and costs you extra in your electricity bill, because it is needlessly consuming irrationally huge amounts of CPU power to open a menu.

    • clubb@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Well, yes, in some cases, but the start menu is something you interact with very often. The average user (and I mean office worker in their 40s)doesn’t even pin items to the taskbar. As such, the main way to open apps is through the start menu. Think about this way. In this situation on a laptop, you either save ram or battery. Constant cpu spikes aren’t good for energy efficiency. This also means hogging your ssd, which might be an issue in specific situations. On the other side, keeping the start menu fully in ram could be perceived as a waste, it really depends on how often you use the start menu and how much you value energy efficiency.

      • BombOmOm@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        1 month ago

        It’s also pretty common to type Win + NameOfProgram + Enter, which necessarily opens the start menu and spikes the darn CPU. This has been a very common way to interact with the OS since Vista, and, as with so many other things in Microsoft land, has gotten worse.

        WindowsKey -> “fire” -> Enter ==> Firefox is now open!

      • yoriaiko@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Much thx for explanation,

        Looks like my understanding is valid - it is situational.

        With a pointing to, I’ve noted most office workers do have apps pinned, by themselves or IT guy. Often even too many, like 3-4 web browsers lol. Also they rarely work on laptops, but office PCs. At least my country (Europe).

        Also, could guess MS or most big tech companies may want users to make common parts used faster, to make them buy new faster :giggle:.

        • yoriaiko@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          Quality teacher!

          but, how do they turn PCs off? win-d alt-f4? think win-d was not a thing in early windows… please don’t say by power button.

      • Hupf@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        In case of the start menu, the sensible thing would be to optimize it sufficiently so that it doesn’t hurt being kept ready constantly.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        The crux of the problem is that clicking Start should display a low-resolution background image and 29 low-resolution icons, with some text and links. Bringing it to life should load a couple hundred k of disk into RAM and be imperceptible to the naked eye on the task manager.

        My 12th-gen, 14-core processor that boosts to 3.5GHz should be able to do all that many hundreds of times a second without any serious stress.

        Yet, I can click the start icon repeatedly by hand and hold my computer in excess of 40%

        It’s not a direct issue, and any modern computer will have no problem handling the load, but it calls out Win11 for attention to detail problems.

  • Fleur_@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Switched to windows 10 a month or so ago just for ease of use with video games and mods. Man does windows suck ass. Wants to open random web pages, use dumb AI tools and give me useless info on every empty inch of screen space . At the end of the day it works but quality of life is low.

  • Ironfacebuster@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    My pc “spikes” from 6% to 11% but was only noticeable when I raised the update speed to high

    Is that the spiking, and are other people seeing more?

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Ok, in a browser is fine.

      JavaScript was never fit for purpose even in a browser. We could’ve had Python or Scheme in the browser instead, but nooooo, Brandon Eich had to be fucking incompetent.

      • plyth@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        There was an older alternative with PS and Tcl from Sun. I don’t know if I would like that more.

        • grue@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 month ago

          I wasn’t idly speculating about languages that I personally happen to like better; I was listing the two languages that Netscape was actively considering at the time before they decided to glom on to the Java hype. When I say “we could’ve had Python or Scheme,” I mean Netscape almost picked Python or Scheme.

          If it makes you feel any better, I get the impression that Scheme would’ve been the more likely of the two. Also, this was happening in 1995, so Lua was less than two years old at the time and, according to this page, not internationally known yet (that would happen in 1996).

      • flamingos-cant@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        What are you talking about, giving one of the only programming languages where binary sizes matters a tiny standard library is a great idea!

    • CosmicTurtle0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Good news: there’s been talk to having python be part of the DOM.

      I believe chromium has been working on it but no real thought on when this will happen.

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I don’t understand what this means, but try and find a single Windows user who cares (assuming everyone here is on Linux).

  • Kompressor @lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Switched to Linux at the beginning of the year. Still have a lobotomized local windows 11 boot for gaming/VR still though. Can’t wait for the day I can finally get rid of it totally.

    • BananaTrifleViolin@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      It’s a javascript app that uses the react library - which is an open source library originated by Meta. It’s supposed to be easier to maintain and port cross platform apps. However it is not as efficient as a native app and given the Start menu is so frequently used it’s probably not a very efficient way to program it (or parts of it - I think the start menu has reactive native components rather than entirely made in it).

      • zarkanian@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        So, WTF would Microsoft make a core Windows component with Meta libraries? I remember when Microsoft would only use Microsoft libraries.

    • Something Burger 🍔@jlai.lu
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      React is a Web UI framework. React Native is the same thing but compiles to a native Windows executable (without the performance benefit of native code).