Discord is force-restarting itself on Windows 11 to stop eating your RAM

https://www.techspot.com/news/110542-discord-force-restarting-itself-windows-11-stop-eating.html

A "temporary" solution as the company optimizes desktop app performance

38 points · 8 comments · view on lemmy.world

8 Comments

Goodlucksil@lemmy.dbzer0.com · 26 pts · 288d (4 replies)

Don't use Electron, discord devs.

saplyng@piefed.social · 5 pts · 287d (3 replies)

They're already using rust for their backend services. This seems like a good use case for dioxus/tauri

Oberyn@lemmy.world · 3 pts · 287d

Dorion's discord Tauri client ! But yeah should be made official

onlinepersona@programming.dev · 1 pts · 287d (1 reply)

Isn't that just a rust wrapper of chromium or Firefox?

saplyng@piefed.social · 2 pts · 287d

Good question, it's actually using the native webview component that the target OS already has installed. Electron bundles chromium in each of its compiled apps.

Since tauri isn't running a whole browser to do its job it can typically do the same work faster. The trade off, of course, is that you need to be familiar with Rust code, but their dev team already is so that should be fine! If they have any hard dependencies on Node's libraries it could be an issue though.

Noja@sopuli.xyz · 8 pts · 287d (2 replies)

There is no reason to download it, just use the website.

sidebro@lemmy.zip · 4 pts · 287d

Or even better, an alternative client like Vesktop

flameleaf@lemmy.zip · 1 pts · 287d

Going through the settings now. I was using the desktop client because the web browser version didn't support voice activity (only push to talk), but it looks like that's no longer the case?