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.
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.
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.
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.
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.
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.
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.
“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.”
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.
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”
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.
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.
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.
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.
On a minimal freebsd setup you can run some graphical session in
swayto monitor programs withtopwhile activatingvim’s builtin autocomplete ascclsruns in the back and browse wikipedia usingdilloto finally end withtopshowing a grand total of 145mb active ram. The entire OS is included in this.Wtf microsoft?
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.
Unused ram = wasted ram or something
Sweet rice!
I really like the System Monitor/usage, is that a program or an custom applet in Hyperland?
It’s called “Mission Center”, kinda mimicking windows task manager but have own features too. Neat thing.
I’m actually so close to switching to Hyprland.
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.
Wait, they’re running an entirely separate js interpreter?
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.
“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.”
good jesus
the Windows API, being 40 y.o. at this point, is fairly efficient for a lot of simpler gui things. https://en.wikipedia.org/wiki/Windows_API https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox .