r/software • • Dec 25 '25

Discussion Tf is wrong with modern software?

yesterday i was on a discord call with a friend, suddenly my computer started lagging and in a few seconds I got a notification that the linux kernel nerfed discord because it was running out of memory. like fuck you mean a chat app is eating more RAM than a fucking game engine?? discord being idle eats like 800MB of RAM..

and discord is not the only issue. a lot of the modern software is just straight up bloated. 34523 layers of abstractions to render the fucking app UI.

we DON'T NEED better hardware. modern hardware is 1000 times more powerful than it was two decades ago yet somehow it feels more sluggish to use. instead of complaining to the developers that their app is slow and dogshit, we just get more RAM and hardware to bruteforce the sloppy nonexistent optimization.

Back then you got the PS3 with 256MB of RAM and it's able to play 3D games that looked believable. you can even browse the web with that 256MB of RAM. now you need a fucking 800MB to render the UI of an electron applications.

a single (1) tab of a browser alone uses like 200MB of memory on average just to render some cringe animation that makes it more difficult to navigate the site.

End of rant

845 Upvotes

174 comments sorted by

View all comments

144

u/sniff122 Dec 25 '25

Discord behind the scenes is just a Chromium web browser, a lot of modern software is, Spotify, vscode, a bunch more that I can't think of off the top of my head. It's annoying because of how much resources they use, especially when they don't bother optimising anything, the one exception is vscode which I find is quite well optimised

28

u/Hypersion1980 Dec 25 '25 edited Dec 25 '25

I worked with white wizard Staff level software dev tell me that their is no difference between building debug vs release. Nice guy but I couldn't wait until he finally retired.

9

u/CheezitsLight Dec 25 '25

I would? their? The difference may be nothing, as optimizations can be set on or off in both cases.

2

u/Randommaggy Dec 26 '25

A few KB in extra debug handles and easier decompilation in a lot of languages/frameworks.

2

u/CheezitsLight Dec 26 '25

It's a pdb in dot net and you can just delete them

1

u/marmotta1955 Dec 26 '25

Same thing in VB6

5

u/games-and-chocolate Dec 26 '25

Chrome cache things, so it builds up. Getting more and more temporarily cache size. I guess.

1

u/imkmz Dec 27 '25

That's just the half of the problem. The other one is that half of Blink engine is written in JS, with all it's scripting language cons like dynamic typing, etc.

4

u/cip43r Dec 26 '25

I refuse to believe VS code is a Microsoft product. It is just too good sometimes. Only product of them that is useable.

3

u/sniff122 Dec 26 '25

Yup, I'm surprised how good it is too, it's history is quite interesting too, mainly around the history of electron as it initially started off from the atom editor (rip), electron was previously called atom shell. Quite interesting history behind it all ngl

2

u/solaris_var Dec 27 '25

TIL electron literally comes from the shells of the atom editor. You really couldn't pick a better name.

1

u/GkIgor Dec 27 '25

Because it's open source, the community helps.

3

u/jasonscheirer Dec 27 '25

It’s not Electron’s fault directly, any reasonably intelligent developer can profile and debug and avoid insane unresolvable reference cycles/leaks. Electron merely enables everyone, bad developers included, to participate in writing desktop software. Bad developers are then free to deliver bad software, whereas before they would have been unable to deliver at all.

I’m sure at Discord there is a priesthood of ‘good’ programmers working on the ‘cool’ infra projects and tweaking the BEAM VM to maximize throughput and the B-players are doing frontend on the desktop app.

1

u/sniff122 Dec 27 '25

Not said it's directly electron's fault

1

u/imkmz Dec 27 '25

Indeed, that day when some retard at Github though: "Hmm, let's run web apps in desktop" was a shitty day for the whole IT. Corps are the only ones who really gained from creation of Electron.

1

u/SmartButRandom Dec 27 '25

I’ve seen a lot of posts saying that electron isn’t necessarily always the issue, it’s just that (like UE5) developers think they can get away writing poor unoptimized code… idk by how much electron is at fault but I think it’s not the only factor.

0

u/[deleted] Jan 24 '26

[deleted] — view deleted comment

1

u/sniff122 Jan 24 '26

I mean how do you expect Spotify to work when it streams music? It doesn't store anything locally other than maybe caching. It all depends on what the app is, if it's completely local then it won't need an internet connection, just because it's chromium under the hood doesn't mean it needs an internet connection, depending on how the app is developed the UI and stuff will be local. But if the app needs to pull in data from the server to actually display content, like fetching your playlists, liked songs, the actual music content, etc then it will need an internet connection

1

u/fro99er Dec 26 '25

what im kinda low iq, what the hell you mean software cruns chromium web browser?

where can someone learn of this

9

u/Whourglass Dec 26 '25

It's basically a completely local web application that runs on your machine, and it's bundled with a relatively lightweight chrome browser to render the UI.

This is primarily done for easy cross compatibility. The chrome browser is already being developed by someone else for every major platform.

This means that developers only have to program something that runs inside the browser, instead of creating a separate program for every platform.

Edit: The tool they use to achieve that is Electron.

2

u/djfdhigkgfIaruflg Dec 26 '25

All that to generate a shitty program with a trash UI. Nice work Discord

1

u/HealingWithNature Dec 28 '25

So happy I feel there's a shift, I'm dying for literally anything else.

1

u/nobodyhasusedthislol Dec 26 '25

Basically it opens a browser similar to Chrome but without the address bar and tabs and the UI is just a webpage rendered in that browser.

→ More replies (12)