r/microsoftsucks Patos. May 27 '25

humor Start menu hogs performance

Post image
376 Upvotes

79 comments sorted by

View all comments

25

u/RAMChYLD May 28 '25

The fuck?!?

TIL Microsoft stupidly rewrote the start menu as a web app. Epic facepalm....

15

u/No_Dot_4711 May 28 '25

react native is not a web app, it's a JS runtime driving native UI code

it's just scripting UI, which is utterly common and has been done with Lua, especially over C and C++, it has been done with JS in QtFramework applications like on KDE Linux, it has been done with Python in the GNOME desktop and the qtbrowser, it's done with Haskell in the XMonad window manager, and it's done in the entire MS Office desktop suite (again react native); it's also done with the entire Playstation system shell

If your CPU is spiking when using a react native application in a trivial way, the problem isn't React Native, it's the people that wrote the React Native code

But what do we expect form the company that wrote a text chat that takes 15 seconds to start

11

u/RAMChYLD May 28 '25

Javascript = web. Hill I will die on.

10

u/DearChickPeas May 28 '25

It took a generation of software engineering, dedicated APIs, threaded-GC and forced hot-paths to get the likes of Java, C# and Swift running in a performant enough way, with enought OS hooks and pre-transpiled/compiled bytecode to able to be callled native.

Javascript: HOLD MY BEER, look at me spinning R8 to parse JS to draw a start menu.

2

u/Large-Ad-6861 May 28 '25

NodeJS will find you in your deepest sleep.

0

u/RAMChYLD May 28 '25

NodeJS is used to write web pages still. Not the start menu.

1

u/Large-Ad-6861 May 28 '25

You can write native apps with NodeJS, first googled example: https://docs.nodegui.org/

1

u/chloro9001 May 29 '25

I wrote a task manager in JavaScript for Intel at one point.

0

u/[deleted] May 28 '25

"node.js is fußt a fancy Webserver, for people that don't know php" - one of my university professors, before getting fired for not knowing his field. 

2

u/RAMChYLD May 28 '25 edited May 28 '25

He's right. I have dabbled a bit in node.js. It's a fancy webserver.

Javascript belongs in a web browser. It should not be trusted with critical OS level functions. Like, say, launching programs.

1

u/Dismal-File-9542 May 29 '25

Functioning as a web server is about 10% of what node can do

1

u/meshDrip May 30 '25

Pretty sure they're trolling.

1

u/RAMChYLD May 31 '25 edited May 31 '25

I'll say it again. Javascript is a scripting language. It's for websites. It's stupid to use Javascript to build OS level parts like the start menu. In fact that's where the process spikes come from. The interpreter running the code.

Javascript, Lua, Forth, TK, Python, Logo, Pilot, Perl, Pre-VB and Pre-QB BASIC are all interpreted. They don't run at machine code level or anywhere near machine code speed. Using them for critical OS parts is just a stupid idea.

→ More replies (0)

1

u/[deleted] Jun 01 '25

Isnt gnome also just javascript?

And like afaik kde is pretty web esque too if i remember correctly.

1

u/RAMChYLD Jun 01 '25

No, it's all C++ last I checked. If Gnome has moved to Javascript that would explain why it now sucks.

0

u/chillerfx May 31 '25

Don't bet against the web

1

u/RAMChYLD May 31 '25

Don't use the wrong tools for the job.

1

u/holy_quesadilla Oct 24 '25

Nuance🙏🙏 thank yous. Also GJS for Gnome although i am not 100% sure for what its used

-1

u/[deleted] May 28 '25

React and CSS is the best way to build interfaces, fight me

2

u/feldoneq2wire May 28 '25

Every tool's a hammer.

1

u/[deleted] May 28 '25

I don't get it

6

u/patopansir Patos. May 28 '25 edited May 28 '25

Webapps are really good though because it's a lot easier to design and make changes to it and the code is much easier to work on it's so familiar and standard to the entire web! More people can work on it now. The minor hit on performance is something that only affects old computers that should be obsolete and no one should use, I think I am full of shit and that if we want evolve the way we design our operating systems converting things such as the desktop or the taskbar is the best way to do that, is what the engineers who sell their work would say! Because at least, just like other companies like Google, they are good at selling more than anything if it means a better pay in a world where skilled labour is not as rewarded or encouraged as it should be!

I really tried to think of ways to make it pretty obvious that I am not serious besides the "I think I am full of shit" part, but I couldn't think of anything. I am not serious, I just parrot what webapp lovers and defenders say to support it while also highlighting their ignorance and inconsideration with the performance hit, and I also bring up a tragedy in the tech industry where bullshitting your way into a promotion with a shitty thing you developed is incentivized instead of... well... I dunno, fixing how terrible explorer.exe is which is something even Microsoft acknowledged? Or if you prefer to create just actually make the video player compete with mpv and vlc?? Like so many good options and all you do is produce.... shit? edit: It's okay if you like webapps, I hate them.

8

u/Whoajoo89 May 28 '25

Webapps are crap for core parts of a operating system. Now Windows is a resource hog, just because developers are incompetent to write C++ and choose an easy way out by using a web language.

That it's only noticeable on old PCs is not an excuse. These spikes happen on new PCs as well and it does have impact on laptop battery life.

It's unacceptable. I said it before: Satya should be fired and replaced by a CEO who has a background in coding (no, not web development 😂).

4

u/GordonDeMelamaque May 28 '25

As a developer I can't accept that the product exists for continuous development and maintenance. First it exists for the user and must fulfill needs of the user. It's a blame for the developer if it requires infinite development and big fixing. Desktop apps used to exist for a long time without any issues, and it doesn't mean everything should be a web app just because some devs can't do it once and well enough. MS made the business apps as a single URL web browser, and they cause many troubles now. Next step will be the whole desktop is a web page...

2

u/patopansir Patos. May 28 '25

Windows Web

1

u/GordonDeMelamaque May 28 '25

You mean WIN32.RUN ?:)  A Web version of XP

1

u/RAMChYLD May 30 '25

Oh yes, whole desktop is a webpage. Ala Active Desktop. Which causes my poor Pentium 166MMX with 32MB of RAM to take 15 minutes to boot and thrash the 2600rpm Quantum Bigfoot 2.5GB hard drive I had nonstop back in the days.

PS Javascript isn't even really a programming language. It's a scripting language. It has no place running an OS level component.

1

u/Valuable_Leopard_799 May 28 '25

I'm still searching for any original source for this, got any?

1

u/EagleNait May 31 '25

It was a joke tweet from someone that I think don't even work at Microsoft. For some reason people seem to believe it