by ChuckNorris89 · 3y ago · 0 comments
Now you need a quad core 3GHz chip and 8GB RAM just to run a chat app reliably. Where did we go wrong?
Humans are lazy (efficient?) and will always gravitate to the easiest tool for the job. If “the job” is just to make a functional chat app, it becomes wildly efficient to simply wrap your web app in electron.
I’ve done it to an existing web app and it took less than a day to suddenly have “native” .dmg and .exe to distribute.
So when we yarn for the days of IRC, I think we should also yarn for the days when JavaScript was not the de facto language for everything which lowers the bar for development so incredibly low that you are ending up with truly garbage desktop apps that should be written in native windows SDK using C++.
I think the blame fully falls on the developers of such applications, not on the framework.
Strange enough they're now touting the move to Edge WebView as the solution (since they finally acknowledge how bad Teams is) but never explained how this will solve the problem as it's just the same tech (chromium) underneath.
But it still surprises me that Discord of all seems to care so little about the resource footprint on their users devices. Considering that Discord is still mostly used for gaming you would expect that users want the communication app's system footprint to be absolutely minimal and without any negative impact on the actual game. Thats why I always loved teamspeak so much
You would think with all the apps that use Electron this is something that would be fixed (I don't know if the root cause is Electron itself or some bad practice that people who use it do often enough that I've mentally associated it with the framework) but I've seen this issue with every Electron app I've used for any period of time (except VSCode) for years.
I do feel that these apps these days, Discord included, eat a ton of resources, and that it feels like a regression.
... but, point is, a chat app ought to be able to run smoothly using perhaps 10% of a single efficiency-core on an M1, when actively being used, and about 0% when inactive. These programs acting like they're mining Bitcoin just to let you chat, which we used to do on hardware far weaker than many modern thermostats have (hell, maybe even some lightbulbs), are absolute jokes.
Not my experience. Windows (and IIRC MacOS too) always had a great disk I/O scheduler that prioritized audio related tasks so I never had mp3s pop or skip on me, no matter how hard I was thrashing my spinning rust disks back then.
Linux was the one where I noticed this issue intensely back then as the schedulers used by mainstream distros were all tuned for server/mainframe workloads.
Skype was great at first. Then Microsoft bought Skype and turned it into a shithole. Then Microsoft said that this product is trash and migrated everyone to use MSN. Thanks, Microsoft!
It used p-2-p over port 80 so it would always reach its destination no matter the firewall rules on your network, and it allowed file transfers up to 2GB(!) in size, in 2005(!).
Can present day Discord do that?
It used p-2-p over port 80 so it would always reach its destination no matter the firewall rules on your network, and it allowed file transfers up to 2GB(!) in size, in 2005(!).
There were no better alternatives at the time.