This week’s talk of the town on X is Discord’s experiment that automatically restarts the desktop client when memory usage is high, but it turns out the experiment was not in bad faith. Discord is actually quite serious about patching performance issues. But is Electron really the right choice for Windows 11?
Discord is an Electron app, and if you’re unfamiliar with the Electron framework, consider it a full Google Chrome window with Node.js runtime. Now, Discord’s every server or message is a separate tab, and as you keep loading a new tab (new server, message, function), memory usage keeps piling up.
Nobody likes Electron, but sadly, it’s one of the most used frameworks on Windows, and Discord is one of those companies.