• Caveman@lemmy.world
    link
    fedilink
    English
    arrow-up
    82
    ·
    23 hours ago

    I was looking up how much RAM it would cost compared to a native WinUI 3 start menu in C++ and the difference is 20-100x for a hello world app. Having to load a JS and React Native runtime makes it load 150MB of RAM.

    • Maxxie@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      31
      ·
      19 hours ago

      Increase of available resources lead to so many sloppy solutions, one of the things I hate the most about modern software engineering.

      Current trend of shoving an llm everywhere is that on steroids. “No need to hardcode logic just MCP it bro”

      • ZILtoid1991@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        ·
        18 hours ago

        In college, I was repeatedly told that optimization is a waste of time for the most part, and otherwise everything will run on servers soon with thin clients on the user side.

        • Caveman@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          13 hours ago

          Performance doesn’t matter until it’s noticeable. After that it really starts to matter. The fact that any code can look sluggish on today’s hardware means that either you’re requesting a lot of data or the performance is trash.

          Performance does matter but only up to the point it becomes noticeable. On the server it really matters a whole lot more because every 2x performance is 50% hosting discount.

          • ZILtoid1991@lemmy.world
            link
            fedilink
            English
            arrow-up
            8
            ·
            9 hours ago

            Not noticeable, until multiple apps in the background come into play, all with their own oversized runtimes. That’s how we got into the electron app hell.

            • Caveman@lemmy.world
              link
              fedilink
              English
              arrow-up
              4
              ·
              9 hours ago

              Yeah, it really shows in the startup times. Too bad all the apps need some crazy specific version of the Electron wrapper otherwise it could be reused as a flatpak layer. Still, I prefer a supported electron app from the provider over no app at all or third party.

    • Jankatarch@lemmy.world
      link
      fedilink
      English
      arrow-up
      44
      arrow-down
      1
      ·
      edit-2
      11 hours ago

      On a minimal freebsd setup you can run some graphical session in sway to monitor programs with top while activating vim’s builtin autocomplete as ccls runs in the back and browse wikipedia using dillo to finally end with top showing a grand total of 145mb active ram. The entire OS is included in this.

      Wtf microsoft?

      • Caveman@lemmy.world
        link
        fedilink
        English
        arrow-up
        22
        ·
        19 hours ago

        My KDE install came to a grand total of 550MB last time I installed (KDE Neon at Plasma around 5.25 Ubuntu 22.04).

        The guy that greenlit it to be done in React Native is dumb as a rock. OSs comes with a shared UI library for a reason.

        • De Lancre@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          12 hours ago

          My KDE install came to a grand total of 550MB last time I installed (KDE Neon at Plasma around 5.25 Ubuntu 22.04).

          Unused ram = wasted ram or something

          • Slein4273@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 hours ago

            Sweet rice!

            I really like the System Monitor/usage, is that a program or an custom applet in Hyperland?

            • De Lancre@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              8 hours ago

              It’s called “Mission Center”, kinda mimicking windows task manager but have own features too. Neat thing.

      • balsoft@lemmy.ml
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        18 hours ago

        145 megs is a lot NGL. You used to be able to do all those tasks (sans the autocomplete) on a PC with 64 megs of ram.

      • Caveman@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        12 hours ago

        Yeah, if they were trying to limit RAM usage they wouldn’t have gone for React Native. The React Native runtime takes more RAM than the Hermes JS engine which is usually used.

        The thing I don’t understand is why they didn’t use C#, it’s like right there, first class support for the WinUI stuff and made by them.

        • zbyte64@awful.systems
          link
          fedilink
          English
          arrow-up
          5
          ·
          12 hours ago

          “The start menu demonstrates we can port all our essential frontend code to React Native. Today we announce a new translation layer that runs C# as react native code. There is no technical reason to do this which is why we had AI write it.”

          • MS in 2026