News for hackers. Stuff that matters.
Re:Discord is ditching Electron and its new app uses less RAM by doublerabbit on Thursday November 05, 2026 @08:10AM (#50378667)
Vibe coded Discord some how goes hand in hand.
Re:Discord is ditching Electron and its new app uses less RAM by Insanity on Thursday November 05, 2026 @08:57AM (#50379110)
Maybe the good thing to come out of the RAM crisis is that engineers will care about memory usage again lol.
Re:Discord is ditching Electron and its new app uses less RAM by himata4113 on Thursday November 05, 2026 @08:58AM (#50379126)
The bad thing here is that modding discord will become significantly harder and might have been their original intention here.
Re:Discord is ditching Electron and its new app uses less RAM by muddi900 on Thursday November 05, 2026 @09:03AM (#50379197)
Some vibekiddie will reengineer this, and mod it.
Re:Discord is ditching Electron and its new app uses less RAM by TremendousJudge on Thursday November 05, 2026 @09:25AM (#50379443)
>vibekiddie

love this term, knew instantly what it means

Re:Discord is ditching Electron and its new app uses less RAM by himata4113 on Thursday November 05, 2026 @09:27AM (#50379471)
depends if they decide to use any kind of obfuscation here to protect "IP"
Re:Discord is ditching Electron and its new app uses less RAM by rs999gti on Thursday November 05, 2026 @10:01AM (#50379942)
How? Anthropic hard coded anti-reverse engineering instructions into Claude.

https://www.tomshardware.com/tech-industry/artificial-intell...

Re:Discord is ditching Electron and its new app uses less RAM by pyreko on Thursday November 05, 2026 @10:04AM (#50379984)
...so just don't use Claude?
Re:Discord is ditching Electron and its new app uses less RAM by rs999gti on Thursday November 05, 2026 @10:33AM (#50380408)
I thought Claude was the tool for the AI script kiddies?
Re:Discord is ditching Electron and its new app uses less RAM by esseph on Thursday November 05, 2026 @10:05AM (#50380001)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by TheGoddessInari on Thursday November 05, 2026 @10:57AM (#50380761)
This isn't universally true, and there's a lot of pressure to bake guardrails and moderation in: Mistral for instance went from one of the most unhinged to incredibly restrictive models with Mistral 4 Large release.

Several others have done similar to greater or lesser degrees in calendar 2026, but the pressure is there across the board to limit what the open models can do without modifications that could largely only be found locally and not from online providers.

Re:Discord is ditching Electron and its new app uses less RAM by techjamie on Thursday November 05, 2026 @10:53AM (#50380687)
Hopefully they don't stop it from doing malware analysis. I've been using it to report malware C2s and it's a godsend for pulling apart the layers of crap they use.
Re:Discord is ditching Electron and its new app uses less RAM by not_a9 on Thursday November 05, 2026 @10:55AM (#50380717)
Can’t see it on my end, the clanker still finesses IDAPython just fine.
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Thursday November 05, 2026 @01:19PM (#50382426)
Anti video-game-reverse-engineering, to be specific. It’ll refuse to decompile or reverse engineer any video game.
Re:Discord is ditching Electron and its new app uses less RAM by not_a9 on Thursday November 05, 2026 @08:06PM (#50386881)
Just tossed the clanker at some stuff in Cyberpunk 2077, seems to be reversing it fine. Mind you I’m using my Claude sub in OMP so maybe I’m getting a less shitty system prompt.

It’d probably be trickier with multiplayer games given the slopmachine would probably assume you wanna cheat in it

Re:Discord is ditching Electron and its new app uses less RAM by breakwaterlabs on Thursday November 05, 2026 @10:58AM (#50380769)
It may shock you to hear that there are other coding agents than Claude.
Re:Discord is ditching Electron and its new app uses less RAM by abirch on Thursday November 05, 2026 @12:34PM (#50381894)
Wait until they find out about Abliteration models
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @12:21PM (#50381734)
Local AI for starters, stop relying on a single timesharing AI vendor.
Re:Discord is ditching Electron and its new app uses less RAM by inknight on Thursday November 05, 2026 @02:09PM (#50383075)
DeepSeek + DSH can do it with a fraction of the cost
Re:Discord is ditching Electron and its new app uses less RAM by swat535 on Thursday November 05, 2026 @02:27PM (#50383283)
As well as literally any other Chinese / open model.

I'm not surprised Anthropic and OpenAI are trying their best to ban / severely handicap competition and crack down on opensource. It's a major threat to their existence.

Re:Discord is ditching Electron and its new app uses less RAM by sunaookami on Thursday November 05, 2026 @02:35PM (#50383388)
They did not. Everyone has misinterpreted what Anthropic actually did and say. This attention economy is exhausting...

This is what an Anthropic dev said:

>"to steer it away from recreating someone else's specific game"

This just means exact clones, not reverse-engineering. The article is blatantly lying. And easy to disprove by... trying it yourself.

Re:Discord is ditching Electron and its new app uses less RAM by rs999gti on Thursday November 05, 2026 @03:40PM (#50384197)
From the article itself, "Regarding the blocking of reverse engineering, we have received direct confirmations. The first comes from our own alumnus Jarred Walton, who was trying to run checks on the software he's developing. He notes that such work had been performed with no issue until yesterday, October 31, and that switching to Opus 4.8 let him continue his work."
Re:Discord is ditching Electron and its new app uses less RAM by rbits on Thursday November 05, 2026 @09:36AM (#50379605)
They can just repackage the web app and mod that if all else fails.
Re:Discord is ditching Electron and its new app uses less RAM by ecshafer on Thursday November 05, 2026 @09:41AM (#50379668)
oh won't someone think of the discord mods!? If its too hard for them to mod, they won't have time to groom children.
Re:Discord is ditching Electron and its new app uses less RAM by bakugo on Thursday November 05, 2026 @09:42AM (#50379682)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by tomhow on Friday November 06, 2026 @04:28AM (#50390147)
Please don't post snark like this on HN. It's not what this site is for, and destroys what it is for. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site to heart, we'd be grateful.
Re:Discord is ditching Electron and its new app uses less RAM by cfbradford on Thursday November 05, 2026 @09:46AM (#50379739)
They’re showing how easy it is to vibe code a port of the app. A motivated developer outside Discord could do the same and release OpenDiscord or whatever if they cared enough to want to mod the app that way.
Re:Discord is ditching Electron and its new app uses less RAM by toomuchtodo on Thursday November 05, 2026 @09:56AM (#50379866)
This is the way, LLMs are an enabler and force multiplier to help you build whatever interface you want on whatever protocol you have to reverse engineer.

Provide it the official client and point it at public api endpoints, set it to work to reimplement.

Re:Discord is ditching Electron and its new app uses less RAM by uproarchat on Thursday November 05, 2026 @10:09AM (#50380060)
Ahem there is also the option to check out competitors ;)
Re:Discord is ditching Electron and its new app uses less RAM by hmry on Thursday November 05, 2026 @12:25PM (#50381787)
Discord says using modified or alternative clients is against their terms of service, and they have banned people for it in the past (if they do something detectable, like enabling A/B testing feature flags that their account ID doesn't match :/)

They're not exactly friendly to that sort of thing, I wouldn't be surprised if they add some traps to catch people making their own client.

So I'd +1 the sibling comment's suggestion to consider alternatives to Discord, if you're setting up your own community

Re:Discord is ditching Electron and its new app uses less RAM by writtenone on Thursday November 05, 2026 @02:10PM (#50383086)
So then hide your client better? Just because a company has a policy does not mean you need to follow it.
Re:Discord is ditching Electron and its new app uses less RAM by 10111001 on Thursday November 05, 2026 @02:37PM (#50383420)
> So then hide your client better? Just because a company has a policy does not mean you need to follow it.

How, it sounds like they're trying to catch you, e.g. I took...

> and they have banned people for it in the past (if they do something detectable, like enabling A/B testing feature flags that their account ID doesn't match :/)

...to mean they push out changes just to detect the clients who don't conform. I'm sure they could be very sneaky about it in a way that would be hard to "just do better" For instance: have some client behavior change that's hidden behind a feature flag or even calendar date, wait a long time until all official clients are updated, then trigger it and ban the laggards who can be assumed to be using an unofficial client.

Re:Discord is ditching Electron and its new app uses less RAM by sellmesoap on Thursday November 05, 2026 @12:46PM (#50382026)
Since discord announced that they would be scanning ID a lot of alternatives have sprung up, chatto and Armada are both looking promising as alternatives, plus the chatto vibed marketing materials on their Dev chat gave me a laugh the other week!
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @01:23PM (#50382492)
I can recommend both Matrix and Discourse forum as excellent open source selfhostable alternatives.
Re:Discord is ditching Electron and its new app uses less RAM by sellmesoap on Thursday November 05, 2026 @03:07PM (#50383790)
I like matrix, its like the new IRC for almost real time developer chat, I also do this via Discord but I'd prefer an open alternative. If you have experience running a matrix server do you find the data storage an issue? It sounded like if you federate and join the bigger channels you can balloon your storage pretty fast.
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Saturday November 07, 2026 @02:07AM (#50402333)
I mostly host for myself and a couple friends, so data storage hasn't been an issue. I'm sure at some point I may need to prune the attachment store, but I put it on a spinning HDD so capacity isn't an issue. (You can rent a storage VPS and those tend to have oodles of disk space.)
Re:Discord is ditching Electron and its new app uses less RAM by nekusar on Thursday November 05, 2026 @01:37PM (#50382704)
Take a look at Chatto. https://chatto.run/

FLOSS, easy to self host, and works nicely.

Re:Discord is ditching Electron and its new app uses less RAM by apetresc on Thursday November 05, 2026 @02:22PM (#50383234)
There are literally dozens of open-source Discord clients already, both vibe-coded and not; and have been for many years. Nobody needed to prove this was possible, least of all Discord.
Re:Discord is ditching Electron and its new app uses less RAM by ChocolateGod on Thursday November 05, 2026 @11:57AM (#50381458)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by slashink on Thursday November 05, 2026 @01:19PM (#50382434)
Hey, I work at Discord, specifically on this effort. Our entire focus here has been about improving performance and making the client really feel great.
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @01:29PM (#50382590)
It's difficult to believe Discord's intent is to make the client great when the recent updates have been to shove Best Buy ads into it. Even to the point of surfacing ads as notifications! In fairness, I'm jaded since I lost my account due to a sudden ultimatum to share my phone number -- extortion for my PII. So it is impossible for me to believe Discord operates in good faith.
Re:Discord is ditching Electron and its new app uses less RAM by Insanity on Thursday November 05, 2026 @01:34PM (#50382665)
In fairness these are probably distinct teams at discord. A team of engineers focused on performance probably _genuinely_ cares about that.

But there’s other teams and forces at play as well. So I agree with your overall sentiment but the SDEs who worked on this are perhaps not the ones shovelling adware into our faces.

Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @01:54PM (#50382886)
This is a fair point, but it's basically being proud of making the monstrous privacy-destroying ad machine go 10% faster. With how they pressure people to doxx themselves to them (phone number verification) or be completely locked out of their accounts, there is enough predatory tactics in that company that no one should feel proud of working there.
Re:Discord is ditching Electron and its new app uses less RAM by slashink on Thursday November 05, 2026 @02:50PM (#50383571)
Yeah look Discord is more than one person. A lot of us really care about making the most performant client and that's why we did this.
Re:Discord is ditching Electron and its new app uses less RAM by Insanity on Thursday November 05, 2026 @05:39PM (#50385538)
I don't work at Discord, but I know of very few companies that don't have "malicious" tactics in one sense or another. Ultimately they are trying to improve their own bottom line and that _rarely_ aligns with what's best for people.
Re:Discord is ditching Electron and its new app uses less RAM by positron26 on Thursday November 05, 2026 @01:57PM (#50382934)
Go to hell. Nobody likes bitchy customers or giving them service.
Re:Discord is ditching Electron and its new app uses less RAM by unrented7977 on Thursday November 05, 2026 @02:02PM (#50382983)
You're saying this to a random person who doesn't like the software you use. How absolutely puerile. Please either grow up or stop commenting.
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @02:02PM (#50382988)
Thanks, but I already left hell (Discord) for heaven (open, self-hostable platforms).
Re:Discord is ditching Electron and its new app uses less RAM by 4yeyeyeyey on Thursday November 05, 2026 @02:01PM (#50382977)
yeah and its a great place to work and they really care about the users and they are really good people.

people like you are the worst its one thing to open your mouth and try to get some klout for working at a place, that's pathetic enough, its another thing to try and dump kool aid down people's throats. pathetic.

Re:Discord is ditching Electron and its new app uses less RAM by himata4113 on Thursday November 05, 2026 @03:14PM (#50383873)
Please drop a stripped .pdb right next to the binary or at least make it downloadable :)!
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Thursday November 05, 2026 @01:33PM (#50382644)
I mean, why would you want to mod the desktop client of discord instead of the web client?
Re:Discord is ditching Electron and its new app uses less RAM by chasd00 on Thursday November 05, 2026 @10:08AM (#50380040)
The good thing is AI enabling web developers to write native apps.
Re:Discord is ditching Electron and its new app uses less RAM by swatcoder on Thursday November 05, 2026 @10:19AM (#50380203)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by tmpz22 on Thursday November 05, 2026 @10:22AM (#50380241)
Is the average web developer benefitting from vibing languages they are not at all fluent with?

A bit like a translator who doesnt speak the language but has Google translate and a few beers in them right?

For example, is there still a massive .clone() problem in LLM generated Rust?

Re:Discord is ditching Electron and its new app uses less RAM by cloverich on Thursday November 05, 2026 @10:31AM (#50380356)
I re-wrote one of my apps in Swift. I don't know Swift. It's been fun. When it gets stuck I look at the code; I have it teach me via analogy to the e.g. mobx/react concepts I do know. In some cases I've improved the LLMs code after learning how something works. In others I work it more like an informed PM - ok the sidebar opening is slow but... its about 10x faster in my electron version. How is the sidebar "mounted" or rendered? I dump tricks I know from web dev and ask how analogues; sometimes that breaks its anti-patterns. Other times I throw constraints I don't know much about - "This is a native version, can we aim to make it 3x faster to start-up? How".

Personally I was surprised how quickly I surpassed my original code, feature wise. Will it stand the test of time? Too early to tell - need to see if I'm still using the native version of the app in a year. But its been more fun and informative - and fast - than I'd expected.

Re:Discord is ditching Electron and its new app uses less RAM by arecsu on Thursday November 05, 2026 @10:47AM (#50380575)
This is the way. I don't know why it's hard for other people to figure out this process.
Re:Discord is ditching Electron and its new app uses less RAM by tmpz22 on Thursday November 05, 2026 @12:08PM (#50381598)
Right fun is great but I'm speaking from a professional context. Examples should be production code at legitimate businesses.

For what it's worth I wholly agree with your point and that mirrors the personal project I have. But making personal projects a bit more fun and fluent is not the $10T proposition being championed at the professional level.

Re:Discord is ditching Electron and its new app uses less RAM by mahboi on Thursday November 05, 2026 @12:44PM (#50382000)
I was vibecoding CSS before AI could write code
Re:Discord is ditching Electron and its new app uses less RAM by nozzlegear on Thursday November 05, 2026 @01:24PM (#50382528)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by bigstrat2003 on Thursday November 05, 2026 @10:50AM (#50380641)
I mean, they were always able to. They just were too lazy to do it and didn't care about doing a good job enough to overcome that laziness.
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @10:57AM (#50380748)
You know what they meant. This is the same argument that artists used when AI image generation came out, it's not very helpful. Being able to do something and actually doing it are different and we all benefit when web app makers rewrite their apps into native languages.
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @12:25PM (#50381782)
Some of us are long enough in the business, to know that having Web development skills doesn't preclude having native development skills.
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @01:24PM (#50382520)
Maybe that was true in the past but it has definitely not been the case for the past 15 or 20 years for web developers who actually don't know anything about native development.
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @03:28PM (#50384054)
Well if you put it that way, some of them don't even know anything about the browser technology that powers their JavaScript framework used to generate static content.
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @06:05PM (#50385808)
That is correct.
Re:Discord is ditching Electron and its new app uses less RAM by HoldOnAMinute on Thursday November 05, 2026 @01:18PM (#50382417)
Your use of "lazy" here really comes off as "ableist".

"I can do it, and you didn't do it, therefore you must be lazy, because I certainly am not lazy"

What's lazy is not diving into the reasons that people may or may not do things.

Re:Discord is ditching Electron and its new app uses less RAM by bccdee on Thursday November 05, 2026 @01:47PM (#50382814)
So, you're saying that the person you're responding to is really saying, "Developers are too disabled to write native applications"? No, that's nonsense. "Laziness" is not the reason for Electron applications, but disability is an even worse diagnosis.

Incidentally, I think it's kind of ableist to throw around the concept of ableism in places it doesn't make sense. Disability is a set of concrete barriers corresponding to real solutions which do not get the funding and consideration they deserve. Disability is not "when some people do a thing and others don't."

Re:Discord is ditching Electron and its new app uses less RAM by jarjoura on Thursday November 05, 2026 @12:56PM (#50382138)
Most electron projects exist because engineering organizations couldn't afford to hire platform specialists for every platform they want to run on.
Re:Discord is ditching Electron and its new app uses less RAM by HoldOnAMinute on Thursday November 05, 2026 @01:15PM (#50382360)
There were cross-platform C/C++ libraries in the late 80's to early 90's like Visix Galaxy. However, it was not free - far from it.

We developed on Windows NT and deployed onto HP/UX and Solaris.

Re:Discord is ditching Electron and its new app uses less RAM by nottorp on Thursday November 05, 2026 @02:17PM (#50383171)
Uh Qt is still around. Licensing might be as bad as this Visix Galaxy though these days.
Re:Discord is ditching Electron and its new app uses less RAM by tcfhgj on Thursday November 05, 2026 @01:24PM (#50382524)
certainly not valid for the most used electron projects
Re:Discord is ditching Electron and its new app uses less RAM by andix on Thursday November 05, 2026 @01:36PM (#50382690)
Also most native UI frameworks don't provide the primitives for modern UI. It's mostly just standard UI elements, sometimes with the possibility to theme them.

But most frameworks don't come even close to CSS and all the possibilities to create custom controls. It often requires to build everything from scratch in code, which is really hard for more complex layouts.

Re:Discord is ditching Electron and its new app uses less RAM by nottorp on Thursday November 05, 2026 @02:15PM (#50383150)
One could reply that it's a feature, since native UIs are more uniform and with less surprises you can concentrate on whatever the fuck you're doing instead of wondering what this app's designer was smoking.
Re:Discord is ditching Electron and its new app uses less RAM by andix on Friday November 06, 2026 @01:13PM (#50396072)
Depends on the UI framework. Most frameworks don't have enough features to make the UI actually good. It's not even about looks, much more about layout. CSS is really good with conditional layout: hide something and everything reflows around it, responsive layout (not just mobile, but also when making app windows smaller/larger). Typography is another issue with a lot of native UI frameworks. Even adaptive DPI support is not yet easy with most native frameworks.

Also things like accessibility. It's quite easy to make web ui accessible, much harder to do it with custom native control.

Re:Discord is ditching Electron and its new app uses less RAM by nottorp on Monday November 09, 2026 @07:25AM (#50424652)
> hide something and everything reflows around it, responsive layout (not just mobile, but also when making app windows smaller/larger)

Show me a few web apps that are "really good" with this, and don't achieve it by making 30%+ of the screen be spacing.

Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @07:48PM (#50386740)
Maybe they should take the hint and not make a modern UI, given where UIs like that have taken us.
Re:Discord is ditching Electron and its new app uses less RAM by gib444 on Thursday November 05, 2026 @02:02PM (#50382984)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by cloverich on Thursday November 05, 2026 @10:25AM (#50380279)
Also even without the RAM crisis, the main limitations (time) to optimizing software are gone. If you want to do something impactful, but don't have any good ideas: Take an existing website or application and build an optimized version of it. If you aren't sure where to start, build an isolated workflow out of an existing app or site you like, have the LLM benchmark it, then ask it to make it use 10x less ram / run 10x faster. Ask about what tools it can use to measure, what benchmarks it can come up with to repeatedly test it, how it can automate workflows in a measurable way. Then turn those into tools or specs you can share along with your work.
Re:Discord is ditching Electron and its new app uses less RAM by leofree on Thursday November 05, 2026 @10:30AM (#50380338)
About time, I'm tired of fighting. Free the RAM!
Re:Discord is ditching Electron and its new app uses less RAM by anthk on Thursday November 05, 2026 @10:35AM (#50380430)
I always cared with ZRAM under GNU/Linux (I own an n270 netbook with 1GB of RAM and a NUC with 8GB but a Pentium Silver CPU, nothing fancy). Thus, Waterfox with their new Rust based ad blocking engine was a beast, even more with WebGPU enabled and NoScript, just enabling JS for the essential, if any. On top of that, the tab suspending extension. As I program in Rust I need every bit of RAM, even if I disable most debugging options at ~/.config/cargo.toml and I set the build jobs to 1 with "-j1 ".

On the netbook, well.. CWM, UXterm, Dillo, CLI/TUI mail, usenet, IRC and so on clients, groff, nsxiv, mpv, MuPDF... it runs snappier than the NUC for what it does. Programming? Golang for networking stuff -security, not like Rust, but far better than C-, simple C99 for small software, or S9/JimTCL. Otter Browser for emergencies (JS pages from public institutions/govts in my country).

Re:Discord is ditching Electron and its new app uses less RAM by sharts on Thursday November 05, 2026 @12:26PM (#50381798)
They’ll never give up bloated javascript frontends and call you poor for wanting anything else while sipping on their overpriced lattes.
Re:Discord is ditching Electron and its new app uses less RAM by mahboi on Thursday November 05, 2026 @12:47PM (#50382030)
With PCs, it was never about having a lot of RAM, it was about not having less RAM than others. So it's fine if everyone gets less RAM.
Re:Discord is ditching Electron and its new app uses less RAM by HoldOnAMinute on Thursday November 05, 2026 @01:19PM (#50382440)
Sounds kind of socialist :-)

"No one gets TWO sticks of RAM until everyone has at least ONE stick of RAM!"

Re:Discord is ditching Electron and its new app uses less RAM by mahboi on Friday November 06, 2026 @11:14AM (#50394281)
Luckily one person with monster RAM doesn't ruin it for everyone else, but there's RAMflation if everyone gets it
Re:Discord is ditching Electron and its new app uses less RAM by eastbound on Thursday November 05, 2026 @08:59AM (#50379140)
That's a direct benefit from AI.

If all products ditch Electron, it satisfies the NSA requirements of having AI-generated backdoors on your computer, while allowing you to reduce your RAM consumption and letting this precious silicon for Sam Altman (He's quoted saying RAM is better spent in data centers than in personal computers - and in an era where everything is Cloud, one might wonder why the base Macbook Pro has 32GB).

Re:Discord is ditching Electron and its new app uses less RAM by Venn1 on Thursday November 05, 2026 @09:05AM (#50379207)
The Linux desktop client was using a bit more memory than I expected. 1326 MB from a cold start, and I'm only in 11 servers.
Re:Discord is ditching Electron and its new app uses less RAM by Daedren on Thursday November 05, 2026 @09:07AM (#50379235)
I've never used GPUI. Does GPUI provide the same assurances of accessibility? Of proper CJK rendering?

Activities will apparently still use Tauri. Is that going to be a compatibility nightmare due to WebKit? (At least until CEF comes out)

Re:Discord is ditching Electron and its new app uses less RAM by mintflow on Thursday November 05, 2026 @09:18AM (#50379359)
It render accetpable Chinese text, and the IME stuffs work on the control such as search box
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Thursday November 05, 2026 @11:08AM (#50380894)
Think still has no accessibility, and given that the public framework is abandoned might not get there
Re:Discord is ditching Electron and its new app uses less RAM by drcongo on Thursday November 05, 2026 @12:23PM (#50381760)
Not quite abandoned, just that the Zed team stopped focussing on it. I've been building with this, very active GPUI framework: https://gpui-kit.com
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Thursday November 05, 2026 @02:18PM (#50383192)
Yes it can be made accessible, it's just not in the repo and needs to be integrated with other libraries. Things like https://github.com/longbridge/gpui-kit do it for you.
Re:Discord is ditching Electron and its new app uses less RAM by pipe01 on Thursday November 05, 2026 @09:08AM (#50379252)
RIP mods
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @09:27AM (#50379478)
Somehow we were able to do mods with native applications back in the last century of desktop computing.
Re:Discord is ditching Electron and its new app uses less RAM by Swiffy0 on Thursday November 05, 2026 @09:09AM (#50379261)
Not sure what to think of this.

Sure, a Rust implementation will perform better and use less RAM, but it's quite obvious that the transition to Rust will be done almost entirely by AI.

Don't get me wrong, the AI coded Rust version of Discord will most likely work just fine. The thing I'm wondering about is if it's a good idea to rewrite your whole codebase (which I assume is handwritten since Discord predates AI coding) with AI because now there is nobody that knows how it really works - I'm wondering what's the value of having a human-written codebase + the people who wrote it. Just feels like one shouldn't throw that into the trash like it's nothing?

Re:Discord is ditching Electron and its new app uses less RAM by gjsman-1000 on Thursday November 05, 2026 @09:11AM (#50379282)
Here's the critical assumption: Somebody has to know how it works, in order for it to be usable.

That's not actually true. Nobody understands everything about how an airplane works, not even the lead engineers. Nobody understands everything about how a car works, or how medical billing works, or how taxes work, or how traffic flow works, or how a CPU works, or how almost anything works. You just need to understand the broad picture and be able to find the details when necessary.

Re:Discord is ditching Electron and its new app uses less RAM by add-sub-mul-div on Thursday November 05, 2026 @09:20AM (#50379389)
We're losing a respect and understanding of how basic competence works.
Re:Discord is ditching Electron and its new app uses less RAM by wolvesechoes on Thursday November 05, 2026 @09:29AM (#50379512)
> Nobody understands everything about how an airplane works, not even the lead engineers. Nobody understands everything about how a car works

Of course people do.

Re:Discord is ditching Electron and its new app uses less RAM by chasd00 on Thursday November 05, 2026 @10:15AM (#50380135)
Doubtful. The engine engineer doesn’t know the chemical engineering of modern fuels nor the code in the engine controller.
Re:Discord is ditching Electron and its new app uses less RAM by anthk on Thursday November 05, 2026 @01:34PM (#50382670)
In my country in order to earn a true CS degree you need to learn both Chemistry and EE.
Re:Discord is ditching Electron and its new app uses less RAM by skydhash on Thursday November 05, 2026 @06:34PM (#50386127)
I had to learn geology and engineering drawing, because the first two years syllabus overlapped with civil and electromechanical engineering.
Re:Discord is ditching Electron and its new app uses less RAM by rvz on Thursday November 05, 2026 @09:36AM (#50379606)
This is textbook whataboutism.
Re:Discord is ditching Electron and its new app uses less RAM by chneu on Thursday November 05, 2026 @09:41AM (#50379664)
Your post is absolute nonsense. Plenty of people know exactly how everything on a plane or car works, or a CPU. I've worked with tons of people who do.

The fear of deskilling is very valid and is already messing things up.

Re:Discord is ditching Electron and its new app uses less RAM by gjsman-1000 on Thursday November 05, 2026 @10:31AM (#50380368)
Your post is absolute nonsense. Even the people you are referring to do not know how everything works. Does your airplane engineer know the exact tensile strength of the tire as it hits the landing strip?
Re:Discord is ditching Electron and its new app uses less RAM by nozzlegear on Thursday November 05, 2026 @01:39PM (#50382729)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by SZJX on Saturday November 07, 2026 @06:45AM (#50403702)
It's funny that I was just having this discussion with somebody yesterday. I guess it's always a question of degree. An airplane engineer may still not need to know every bit of detail regarding how all of their tools are produced before they can make use of the tools to build an airplane. But I agree that you raised a valid point in that at least they know how the components of an airplane itself fit together. Maybe it would be similar to how software engineers don't necessarily need to know all the details about how a computer is built (even though in some cases this would be beneficial), but if they don't even have the understanding of the actual _software_, building which is literally their job, it might be going too far. Similarly, a car driver doesn't necessarily need to know all the mechanics about a car, but is a software engineer more like a car driver or a car builder? Or indeed, is what we're currently doing with agents akin to wielding tools to build a system, which we still understand on a high level, or driving a black box? There is a balance there which people are still figuring out as everything is still rapidly in flux.
Re:Discord is ditching Electron and its new app uses less RAM by bccdee on Thursday November 05, 2026 @02:11PM (#50383099)
They know the tires are rated for hitting a landing strip under XYZ conditions, they know how to test the tires to ensure they're still confirming to the expectations of that rating, and they're in contact with the trusted organization that's responsible for issuing that rating. Each expert has a comprehensive understanding of their field, and the fields comfortably overlap with no gaps. For any given perspective, there are several people with the complete picture of that perspective.

Contrast this with a vibe-coded "airplane" where nobody actually understands the tires and you're basically operating on a set of assumptions. The tires are not rated and there's no trusted organization. Maybe it works, but you don't actually know. Very different; don't play language games.

Re:Discord is ditching Electron and its new app uses less RAM by subarctic on Thursday November 05, 2026 @02:53PM (#50383616)
My understanding was that for every component there's someone somewhere who understands exactly how it works at least in terms of smaller components/abstractions and for each of those, recursively, someone knows how it works
Re:Discord is ditching Electron and its new app uses less RAM by anonymous908213 on Thursday November 05, 2026 @03:40PM (#50384199)
"I'm clueless and don't know how anything works, therefore experts don't exist" is one of the worst takes to come out of this godforsaken tech.
Re:Discord is ditching Electron and its new app uses less RAM by gamblor956 on Thursday November 05, 2026 @10:33PM (#50387834)
You picked very bad examples. There are plenty of people who know exactly how everything in a plane or car works, how taxes work, how medical billing works, how a Cpu works.

Cal used to require EECS students learn how to make a basic CPU. Students at CalTech learn how to make advanced planes as student projects.

Re:Discord is ditching Electron and its new app uses less RAM by Emjayen on Friday November 06, 2026 @01:30AM (#50388900)
This sounds awfully like the self-soothing mantra slop-kiddies everywhere tell themselves.

Plenty of people have a deep understanding of software/hardware, as that's the context here. I personally can take you from usermode, through the kernel (both NT and Linux), down to the hardware interface, explaining the vast majority of systems along the way, and critically, as they relate to performance concerns.

So can plenty of others who actually know+understand things.

Re:Discord is ditching Electron and its new app uses less RAM by kombookcha on Thursday November 05, 2026 @09:14AM (#50379303)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by stackbutterflow on Thursday November 05, 2026 @09:35AM (#50379581)
How is this different from when you join a company and learn your corner of the codebase? In a sufficiently large enough codebase no one had the whole mental model in their head even before AI. What you did was find and ask that one person who knew enough about some part of the project to answer your questions. Now you can ask a model.
Re:Discord is ditching Electron and its new app uses less RAM by theLiminator on Thursday November 05, 2026 @03:09PM (#50383816)
I believe institutional knowledge used to work on a ship of Theseus model. It's going to be completely different going forward.
Re:Discord is ditching Electron and its new app uses less RAM by robswc on Thursday November 05, 2026 @09:04PM (#50387238)
> How is this different from when you join a company and learn your corner of the codebase?

Because most AI generated code is incredibly verbose and noisy. This can be true for any codebase, but it is especially egregious in AI codebases. It is hard to prevent that by just saying "be concise" because knowing exactly where to be concise is the measure of true skill/intelligence.

Every time I have success with AI coding, it is because whatever I need done can work as a pure function, where the probability I have to return to it is very very low.

Making sense of a codebase is like putting together a puzzle. A purely AI generated codebase is like trying to put it together without a picture on the pieces.

Re:Discord is ditching Electron and its new app uses less RAM by port11 on Friday November 06, 2026 @05:22AM (#50390532)
This is more like ALL the developers have just joined a company where no other devs work and can pass along institutional knowledge. You know, the thing that makes all that complexity wieldy.
Re:Discord is ditching Electron and its new app uses less RAM by SoftTalker on Thursday November 05, 2026 @02:59PM (#50383698)
Also Reflections on Trusting Trust taken to a whole new level.
Re:Discord is ditching Electron and its new app uses less RAM by CamperBob2 on Thursday November 05, 2026 @03:17PM (#50383914)
Once your shared mental model of how the codebase works is gone it seems practically impossible to get it back.

You won't want it back. How much time do you spend surfing through your .o or .obj files today?

Re:Discord is ditching Electron and its new app uses less RAM by fao_ on Thursday November 05, 2026 @04:45PM (#50384895)
Back in the day you'd read reference manuals which would tell you about the library, they might be hand written or a listing of the addresses and names. Today in the modern day, we still use reference manuals for writing C and C++. It's just encoded in websites, e.g. https://pubs.opengroup.org/onlinepubs/9699919799/functions/c... and https://en.cppreference.com/

But there are still libraries where familiarising yourself with the header is important, for example stb's libraries. man(1) and GNU Info were both invented to be computer-stored reference manuals, and indeed to this day you can type `man 3p open` to get the POSIX documentation of the system up in front of you.

I am not aware of many codebases that have manuals as complete as this, but back in the day (1970s-era to the 1990s-era) there would be internal documentation written as par of course for the specification created by the waterfall model of development. Post-2010 companies are very lackadaisical about documenting internal interfaces and libraries because they come from startup cultures where "move fast and break things" is the name of the game.

Re:Discord is ditching Electron and its new app uses less RAM by dieortin on Friday November 06, 2026 @05:49AM (#50390738)
> How much time do you spend surfing through your .o or .obj files today?

Those are not the source of truth for the application logic. But the higher level code is.

The application code describes the behavior of the program and the compiler translates it into a different representation following a set of known, deterministic rules. This is unlike an LLM producing code from a prompt, which is why the source code is still the source of truth, and not a bunch of prompts.

Re:Discord is ditching Electron and its new app uses less RAM by CamperBob2 on Friday November 06, 2026 @12:49PM (#50395707)
Determinism is something you'll have to give up if you want to stay employed, I'm afraid. Don't shoot the messenger.
Re:Discord is ditching Electron and its new app uses less RAM by moralestapia on Thursday November 05, 2026 @04:59PM (#50385077)
I'd say they're betting on AI getting good and reliable enough to not have to go back to the "old" practice.
Re:Discord is ditching Electron and its new app uses less RAM by kombookcha on Friday November 06, 2026 @02:03AM (#50389095)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by moralestapia on Friday November 06, 2026 @07:10AM (#50391434)
Yes, I wouldn't make that bet.
Re:Discord is ditching Electron and its new app uses less RAM by kombookcha on Monday November 09, 2026 @04:58AM (#50423445)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by throwaway_new_1 on Thursday November 05, 2026 @11:08PM (#50388059)
>change your mind in 3 years

I think if people change their mind in six months, let alone 3 years, they would just rewrite it again with something different, or just double down on the AI rewrite to rewrite the rewrite to fix the gaps and so on. It's a rabbit hole.

What people are completely missing with AI is that when a company/someone makes the decision (which is most these days) to go heavily on the AI route, they are probably going to keep going that way.

We don't really know what’s the right balance of AI and People right now.

My personal take would be to leverage AI to fix and improve what already exists in a maintainable way and wait for others to experiment with going heavily AI. It's worked great for Apple who is generally years behind in a lot of things because they wait it out for others to experiment with things.

Re:Discord is ditching Electron and its new app uses less RAM by beardbandit on Friday November 06, 2026 @11:01AM (#50394059)
I don’t think this changes just because you don’t do a rewrite. This is happening already as engineering leans more on AI tools in our own company.

Things ship and change way too fast and the changes are massive.

Re:Discord is ditching Electron and its new app uses less RAM by petra on Thursday November 05, 2026 @09:38AM (#50379633)
When porting an app this way, don't functions/classes preserve the same functionality ?
Re:Discord is ditching Electron and its new app uses less RAM by j_w on Thursday November 05, 2026 @09:49AM (#50379771)
Well not really? You are going from a webpage (Electron) to a native application via Rust. Say you port a React website to a Rust native application, is anything about that code actually similar?
Re:Discord is ditching Electron and its new app uses less RAM by lukax on Friday November 06, 2026 @06:47AM (#50391210)
With GPUI quite a lot can be shared. Styling is similar, components can have same names. If your application logic is already cleanly separated, the resulting code can be quite similar.
Re:Discord is ditching Electron and its new app uses less RAM by tlonny on Thursday November 05, 2026 @03:37PM (#50384164)
I think there are lots of common patterns you find in GC’d languages that don’t translate well into idiomatic rust.

Consequently, porting my game engine from Java to Rust was more challenging than I had anticipated.

Re:Discord is ditching Electron and its new app uses less RAM by spunker540 on Thursday November 05, 2026 @12:12PM (#50381635)
It seems like the value is having something performant. Their choices were 1) stick to a web framework their employees know well 2) a performant native app their employees don’t know as well. And they chose 2.

If a model can tell you anything you’d hope to have a human tell you, what’s the difference? It’s a different point of failure— models can go offline, but employees can also quit anytime too.

Re:Discord is ditching Electron and its new app uses less RAM by mahart on Thursday November 05, 2026 @04:19PM (#50384595)
I share the intuition but pragmatically if the codebase will only ever be interacted with through AI agents it probably is nothing and wouldn't matter anyway. You can probably even generate an exhaustive amount of documentation instantaneously if you are concerned about a human knowing their way around.
Re:Discord is ditching Electron and its new app uses less RAM by port11 on Friday November 06, 2026 @05:27AM (#50390576)
You’d think we learned this during all the front-end rewrites of the 2010s…
Re:Discord is ditching Electron and its new app uses less RAM by 7bit on Friday November 06, 2026 @10:53AM (#50393907)
Your entire opinion is founded on assumptions.
Re:Discord is ditching Electron and its new app uses less RAM by superxpro12 on Friday November 06, 2026 @11:07AM (#50394164)
Would i rather have a massively bloated cross-platform electron app, or a native app in rust assisted by ai?

the native app wins every single time. Give me native or give me death!

Re:Discord is ditching Electron and its new app uses less RAM by SZJX on Saturday November 07, 2026 @02:52AM (#50402556)
Isn't that a concern peopld would have about all software? Not sure if there's something particular to a rewrite about this necessarily.
Re:Discord is ditching Electron and its new app uses less RAM by smolder on Thursday November 05, 2026 @09:14AM (#50379304)
There was already an electron-free client for discord some years back, but they interfered with it. At this point, there's nothing at all impressive about this. It's not hard to ask AI to "RIIR" as been shown many times.
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @09:14AM (#50379308)
Holy Jesus of Nazareth. I love it.

I just pray that Vencord will continue to work in some form, if only so I can use whatever font I want. I'm not a fan of many other changes they've made and I've thus had to reverse, but I'm willing to trade away the flexibility of CSS for an app that uses 5 times less RAM.

Re:Discord is ditching Electron and its new app uses less RAM by RankingMember on Thursday November 05, 2026 @09:45AM (#50379716)
It's great they're working on improving performance, but as they move towards an IPO I'd be looking hard at getting off their platform altogether. They're already shoehorning ads and all kinds of nonsense into their app- it's only going to get worse after the IPO.
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @09:52AM (#50379817)
Network effects keep me on it. I'm waiting for the day it collapses so I can spin up a Teamspeak (or whatever) server again, but it's just too darn convenient for everybody else, so I'm stuck with it unless I want to become even more of a hermit.
Re:Discord is ditching Electron and its new app uses less RAM by asdff on Thursday November 05, 2026 @03:21PM (#50383958)
Use ripcord
Re:Discord is ditching Electron and its new app uses less RAM by magackame on Thursday November 05, 2026 @04:59PM (#50385083)
It's abandoned. Does it even work anymore? Or are there thirdparty patches for it?
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @07:30PM (#50386587)
Ripcord's last official update was in 2021?[1] Why in the name of all that is holy would I use that?

[1] https://cancel.fm/ripcord/

Re:Discord is ditching Electron and its new app uses less RAM by rapist on Friday November 06, 2026 @09:09AM (#50392475)
it can send and receive messages what more do you want
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Friday November 06, 2026 @04:50PM (#50398978)
Voice chat and functional sharescreen with audio on Linux.
Re:Discord is ditching Electron and its new app uses less RAM by pndy on Friday November 06, 2026 @02:52AM (#50389395)
Haven't been checking this for 5 years but has something changed or there's still a risk that Discord will ban your account for not using the official client?
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Friday November 06, 2026 @08:19AM (#50391975)
That part of the terms of service is still there, although they don't go out of their way to ban people unless they act like bots or whatever. I don't worry too much about Vencord, since all I'm using it for is editing CSS.

Discord could be knobheads about it, but I think they realise there's little point in actually implementing any checks and banning accounts unless said accounts actually cause problems. That section of the terms of service is probably there just as a catch-all just so they have a reason to ban, just so they don't need a good reason.

Re:Discord is ditching Electron and its new app uses less RAM by Kuyawa on Thursday November 05, 2026 @09:15AM (#50379318)
The app size also went from 10 GB to 10 MB, start time went from 10 secs to 10 ms

Goodbye Electron, we barely knew you

Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @09:24AM (#50379440)
I really hope with hardware prices going back to the last century, we finally get some best practices back.
Re:Discord is ditching Electron and its new app uses less RAM by nonethewiser on Thursday November 05, 2026 @09:27AM (#50379476)
What the fuck. That's amazing. 10GB->10MB can't simply be moving from Electron right?
Re:Discord is ditching Electron and its new app uses less RAM by hypfer on Thursday November 05, 2026 @09:28AM (#50379494)
It can and it does, because it drops a ton of code for scenarios that do not exist.

Electron rose to fame because one could just do everything with it and it was good enough.

Being able to do everything also means that the thing can do everything everywhere all at once, which is many lines of code.

Re:Discord is ditching Electron and its new app uses less RAM by delta_p_delta_x on Thursday November 05, 2026 @09:30AM (#50379527)
Unironically, with LLMs, everyone should be looking to cut their system resource consumption (memory, disk, network, GPU, I/O traffic in general) and rewrite everything natively. It's not even that hard, and has been done several times over. Have a platform-independent business logic layer, and a platform-dependent UI/UX layer. Done.
Re:Discord is ditching Electron and its new app uses less RAM by hypfer on Thursday November 05, 2026 @09:35AM (#50379580)
> Unironically, with LLMs, everyone should be looking to cut their system resource consumption (memory, disk, network, GPU, I/O traffic in general) and rewrite everything natively.

Depends.

There is a lot of value in man-made software where the man knows exactly what happened where when why.

If you just revibe in rust, you get something that works at this point in time, but this deep architectural knowledge is completely lost and you're at the mercy of Dario not locking down your account for wrongthink.

That can still be fine for smaller tools where the cost of recreating them from scratch is alright, but revibing your core business thingy is likely a horrible idea, which I encourage people to do, as I'd love to have the business opportunity to take over their frustrated customerbase ca 5 years from now.

Re:Discord is ditching Electron and its new app uses less RAM by delta_p_delta_x on Thursday November 05, 2026 @09:38AM (#50379632)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by nonethewiser on Thursday November 05, 2026 @09:37AM (#50379621)
>and you're at the mercy of Dario not locking down your account for wrongthink.

Inference cannot be controlled. The models are already out there. It's too late.

Re:Discord is ditching Electron and its new app uses less RAM by hypfer on Thursday November 05, 2026 @09:40AM (#50379655)
Good luck doing the full-hands-off one-shot revibe stuff this all is referring to with GLM-5.3.

That needs claude-like capabilities.

It also should not be done at all. But that approach needs it.

Using open weights models like GLM-5.3 can also speed up rewriting, but then you're rewriting and not revibing, which is a lot slower.

Re:Discord is ditching Electron and its new app uses less RAM by throwitaway222 on Thursday November 05, 2026 @10:18PM (#50387752)
Yeah I have to agree here - the days of being scared of complete rewrites are pretty much over.
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @09:28AM (#50379484)
Electron is a full Chrome instance, plus whatever else makes up the application.
Re:Discord is ditching Electron and its new app uses less RAM by nonethewiser on Thursday November 05, 2026 @09:32AM (#50379545)
Yes, and that only explains about 150MB.

If it were simply the Chrome install that would imply Electron is 9GB+ by itself, which it most certainly is not.

Re:Discord is ditching Electron and its new app uses less RAM by chii on Thursday November 05, 2026 @09:41AM (#50379671)
It's probably left over old instances and updates that werent deleted properly. These apps tend to download the update as an entire bundle, rather than any sort of binary diff and patch.

Therefore, if you have an old install and have gone thru several (many) cycles of updates, the installation directory could be riddled with old versions and update files that make up the bulk of that 10 gig.

Re:Discord is ditching Electron and its new app uses less RAM by flykespice on Friday November 06, 2026 @09:31AM (#50392732)
That is horrible, is it really that common that electron apps eventually consume all your storage with each update?
Re:Discord is ditching Electron and its new app uses less RAM by chii on Saturday November 07, 2026 @05:32AM (#50403297)
if the app cleaned up the update properly, then no. For example, signal desktop is fine.

I dont have discord, so what i said is just conjecture, but bad update files laying around isn't uncommon imho.

Re:Discord is ditching Electron and its new app uses less RAM by sgarland on Thursday November 05, 2026 @10:15AM (#50380126)
This has to be hyperbole. I built (with Claude) a P2P LAN voice-only chat app in Rust recently, using native frameworks for each platform (Swift, GTK, Win32), and it weighs in at about 5-6 MB depending on the platform. I have spent an enormous amount of time looking for places to squeeze it further. It has ephemeral channels and password protection, but that’s about it: no text chat, no video, no friends, blocklists, no concept of servers, etc. I can’t imagine everything else Discord has squeezes into another 5 MB.
Re:Discord is ditching Electron and its new app uses less RAM by upcoming-sesame on Thursday November 05, 2026 @06:13PM (#50385894)
Re:Discord is ditching Electron and its new app uses less RAM by markbao on Thursday November 05, 2026 @09:31AM (#50379542)
Misinformation. Discord isn’t 10GB and nobody outside Discord has actually used the Rust port.
Re:Discord is ditching Electron and its new app uses less RAM by gear54rus on Thursday November 05, 2026 @09:37AM (#50379616)
you must be joking 10GB haha

who downloads this? there's a website available

Re:Discord is ditching Electron and its new app uses less RAM by saghm on Thursday November 05, 2026 @09:48AM (#50379765)
Push-to-talk does not work well on in the browser at least on Wayland/Linux. The shortcut only gets sent to the active window, which for the type of contexts where push-to-talk is useful (e.g. gaming) is a dealbreaker. I've read stuff indicating that xdotool can manually handle things reasonably enough on X11, but I was never able to get it working reliably for any of the various Wayland replacements for xdotool, so when I've done voice calls, I've had to grudgingly use the desktop client.
Re:Discord is ditching Electron and its new app uses less RAM by TingPing on Thursday November 05, 2026 @11:01AM (#50380809)
Re:Discord is ditching Electron and its new app uses less RAM by saghm on Thursday November 05, 2026 @04:35PM (#50384780)
I get a 404 for that link.
Re:Discord is ditching Electron and its new app uses less RAM by chandlerswift on Thursday November 05, 2026 @11:50PM (#50388368)
Perhaps https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.fr... ? From a quick skim of the page it's not immediately obvious if that actually will allow PTT to work, though; I'm only suspecting that because I don't see any of its siblings that would even conceivably allow for PTT.
Re:Discord is ditching Electron and its new app uses less RAM by saghm on Saturday November 07, 2026 @07:59PM (#50409568)
No clue if it's possible or not. I was not able to find any way to do it when I last checked around a year ago, but maybe something has changed since then, or maybe it just isn't implemented in Firefox yet.
Re:Discord is ditching Electron and its new app uses less RAM by jttnr on Thursday November 05, 2026 @09:46AM (#50379731)
I wonder where the 10GB come from. Quick check on Flatpak shows 240 MB download and 568 MB installed size for the Linux install.

https://flathub.org/en/apps/com.discordapp.Discord

Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @09:59AM (#50379911)
Source?
Re:Discord is ditching Electron and its new app uses less RAM by nticompass on Thursday November 05, 2026 @02:35PM (#50383384)
It's a joke.
Re:Discord is ditching Electron and its new app uses less RAM by RunSet on Thursday November 05, 2026 @10:14AM (#50380120)
In a perfect world it would be reduced to 0 MB.

https://news.ycombinator.com/item?id=30311982

Re:Discord is ditching Electron and its new app uses less RAM by hn773746483 on Thursday November 05, 2026 @01:22PM (#50382482)
Discord even sends its DPO (data protection officer/privacy team) tickets to outsourced offshore copy & paste template support farms/AI chatbots. I've requested my data numerous times, half of the time the ticket was closed without a response, and the ones that DID get a response were the same copy & paste template telling me my data package is being generated.

All data packages were missing 90% of my account data (bug? size issue with zip files?), no avenue to report this to Discord of course. :^)

Re:Discord is ditching Electron and its new app uses less RAM by asimovDev on Friday November 06, 2026 @03:47AM (#50389768)
they recently added google searchability or something adjacent to that. I received a lot of pings in various discord servers about it being opt-out and that by default my messages are searchable now apparently
Re:Discord is ditching Electron and its new app uses less RAM by PreciousH on Thursday November 05, 2026 @09:15AM (#50379325)
It's crazy how much RAM electron needs, at my old startup the main product was an electron app, i initially used to run into this issue where AI wouldn't clean up the dev builds it spunned up for e2e testing and each could be over 500MB, it just get's to a point that the cross platform advantage is no longer worth it, i think it was one of the main reasons cursor had to move off electron to rust based builds.
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @09:23AM (#50379421)
It is a full browser, not surprising at all, only for those that never coded native applications.
Re:Discord is ditching Electron and its new app uses less RAM by asdff on Thursday November 05, 2026 @03:20PM (#50383955)
I mean so is lynx
Re:Discord is ditching Electron and its new app uses less RAM by atomic_cattlepr on Thursday November 05, 2026 @03:57PM (#50384377)
Lynx is a "full browser" in the same way that Emacs is a "full word processor."
Re:Discord is ditching Electron and its new app uses less RAM by fao_ on Thursday November 05, 2026 @04:49PM (#50384944)
... EMACS is a full word processor? It's a bit spartan in terms of how the interface feels, but functionally it's a lot better than what modern writers get given in vibecoded packages
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @04:11PM (#50384505)
Lynx was created for UNIX systems that used around 8 MB, and was text only, JavaScript was yet to be invented.
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Friday November 06, 2026 @01:22AM (#50388853)
More than that: it's a full browser that doesn't share any of the system browser libraries (using it's own browser engine) and also NodeJS. You can often save almost ~300-500 megabytes by switching to something like Tauri (even Tauri+NodeJS) that uses the system's own browser framework.
Re:Discord is ditching Electron and its new app uses less RAM by c-hendricks on Thursday November 05, 2026 @09:43AM (#50379690)
Oh if you don't like large build artifacts Tauri might not be something to get excited about.
Re:Discord is ditching Electron and its new app uses less RAM by deaton on Thursday November 05, 2026 @03:11PM (#50383847)
Its not Tauri, they're using GPUI
Re:Discord is ditching Electron and its new app uses less RAM by c-hendricks on Thursday November 05, 2026 @04:00PM (#50384406)
You're right! Apologies. My brain saw Rust and Electron and went right to Tauri.
Re:Discord is ditching Electron and its new app uses less RAM by mintflow on Thursday November 05, 2026 @09:16AM (#50379333)
I noticed this news and because one of my codex banked reset is expiring soon

I launch codex with astra+ultra on my tauri project because webview sometimes cause blank screen on user device to let it to rewrite the tauri projec to GPUI

It did those stuffs for me

- get rid of the CGO and MINGW toolchain for cross building windows on Linux

- wrote a compatbility layer to communicate the original app backend written using rust

- Achieve not ideal but acceptable UI/UX as the tauri project

- The new build using 24MB memory which is quite good and I do not even bother to check the tauri version

It amazing time to rewrite, though I still can't remember joy of old days that manual coding, but my lower back ask me to just embrace the Agentic coding...

Re:Discord is ditching Electron and its new app uses less RAM by throwaway2046 on Thursday November 05, 2026 @09:21AM (#50379396)
Re:Discord is ditching Electron and its new app uses less RAM by Kuyawa on Thursday November 05, 2026 @09:21AM (#50379400)
"To continue reading *blah blah* *barfs* Verge subscription" WTF???

15 years reading the verge without subscription. What happened?

Re:Discord is ditching Electron and its new app uses less RAM by hypfer on Thursday November 05, 2026 @09:26AM (#50379457)
You've read them without a subscription for 15 years, but they had 15 years of salaries, server cost, etc. That is what happened
Re:Discord is ditching Electron and its new app uses less RAM by pjmlp on Thursday November 05, 2026 @09:26AM (#50379461)
You have not been paying attention the last two years, as they decided to go subscription instead of loaded with ads like anything nowadays owned by Future, like Toms Hardware, Anything Central.
Re:Discord is ditching Electron and its new app uses less RAM by 1209387114555 on Thursday November 05, 2026 @10:25AM (#50380276)
I assure you that you haven't missed anything:

> It’s not clear when Discord will make the full switch over to Rust, but Vishnevskiy says the company “hope to get it into testing with users soon.”

soon™

And yeah, The Verge was one of my favorite resources earlier too but I've stopped visiting it due to subscription requirement on most articles.

Re:Discord is ditching Electron and its new app uses less RAM by insane_dreamer on Thursday November 05, 2026 @02:22PM (#50383226)
paywall is better than ads
Re:Discord is ditching Electron and its new app uses less RAM by lookeey on Thursday November 05, 2026 @09:26AM (#50379465)
Re:Discord is ditching Electron and its new app uses less RAM by nonethewiser on Thursday November 05, 2026 @09:28AM (#50379495)
It doesn't say but it's likely a direct product of AI.
Re:Discord is ditching Electron and its new app uses less RAM by dist-epoch on Thursday November 05, 2026 @09:31AM (#50379544)
As the motto says, "you can just do things"

Such a rewrite would have been unthinkable 2 years ago, but now it's table stakes.

Re:Discord is ditching Electron and its new app uses less RAM by greatquux on Thursday November 05, 2026 @09:32AM (#50379548)
DO TEAMS NEXT
Re:Discord is ditching Electron and its new app uses less RAM by grim_io on Thursday November 05, 2026 @10:29AM (#50380326)
Nah, ease of running it in the browser is a saving grace for us on Linux. MS does not offer an official Linux client.
Re:Discord is ditching Electron and its new app uses less RAM by fbnlsr on Thursday November 05, 2026 @11:30AM (#50381152)
Also Slack
Re:Discord is ditching Electron and its new app uses less RAM by WorldMaker on Thursday November 05, 2026 @03:31PM (#50384095)
Microsoft has already had execs saying the next big thing is AI rewriting stuff to Rust. You think you are joking, but I'm sure it is on someone's roadmap in the Teams org.

Of course, being the Teams org they'd likely still find a way to end up with a bloated mess even after a Rust rewrite.

Re:Discord is ditching Electron and its new app uses less RAM by krystalgamer on Thursday November 05, 2026 @09:38AM (#50379625)
If I understand correctly, they're ditching Electron but still using React but with their custom renderer.
Re:Discord is ditching Electron and its new app uses less RAM by asow92 on Thursday November 05, 2026 @09:40AM (#50379650)
Asking in good faith: In the agentic age why use abstractions like Electron at all? Shouldn't we write apps in lower-level system languages like Rust like Discord has done?
Re:Discord is ditching Electron and its new app uses less RAM by taschmex on Thursday November 05, 2026 @10:07AM (#50380026)
I am not a developer, but using this type of frameworks and toolkits means that a lot of useful (and sometimes "boring") things are already thought through and taken care of. This is probably most important for smaller projects and teams, but some of it probably applies to Discord scale operations as well :)

While you _should_ put some effort into tuning and fixing these things for your specific project, you will "mostly" get things like cross-platform support for all major desktop operating systems, some support for accessibility-tools like screen readers and voice over, devtools and debuggers, application installers, (push) notifications, caching, some aspects of security and cryptography, log handling, and file handling for free, or at least get a reasonable push in the right direction, with Electron.

The alternative is either getting each of these things from a different third party source, or making them all in-house. With a popular abstraction layer like Electron + a web stack, you will to some extent encounter the same problems, mysterious log messages, design considerations and other issues as everyone else. This means that you can find documentation, stack overflow questions, new hires, consultants, blogs, LLMs, etc. that have the skills and knowledge you need, instead of researching and solving everything in-house.

Re:Discord is ditching Electron and its new app uses less RAM by philistine on Thursday November 05, 2026 @10:27AM (#50380297)
> [...] using this type of frameworks and toolkits means that a lot of useful (and sometimes "boring") things are already thought through and taken care of.

You're falling in the trap of the cross-platform dream. Electron takes insane decisions about how your app is going to achieve cross-compatibility in the name of allowing web devs to do the work. It is simply the wrong tool for the AI age, since a versatile web dev can turn to an AI to help them achieve the work.

Re:Discord is ditching Electron and its new app uses less RAM by cloverich on Thursday November 05, 2026 @10:39AM (#50380485)
Consistent UI and control. I re-wrote my electron app in Swift. Its great. But... some of the UI is weird at times; weird patterns; weird behavior. And Apple's UI framework is one of the better ones. Even for AI, each platform will have its own quirks and just _finding_ them takes real users to expose. We take it for granted how flexible and powerful browser UI is, because there's so much baggage and performance related factors. But many UI frameworks are worse, and historically always were.

I think what we're seeing here - and likely to continue to see - is new versions of web UI that eschew a lot of the historical baggage given they don't need to support older websites. And possibly something more powerful. So I guess re-writes or partial ports that take only the parts we need. Presumably a bunch of people will try and hopefully, a few succeed.

Re:Discord is ditching Electron and its new app uses less RAM by bigstrat2003 on Thursday November 05, 2026 @11:01AM (#50380813)
> Consistent UI and control.

Neither of which is actually good for your users. Look like other apps on the platform, FFS.

Re:Discord is ditching Electron and its new app uses less RAM by Rohansi on Thursday November 05, 2026 @05:32PM (#50385448)
Outside of macOS/iOS (maybe Android too?) there isn't really any guaranteed consistency between native apps on the platform because there are multiple options for native UI toolkits which render differently. Plus, designers would rather have a consistent (unique/recognizable) look across platforms.
Re:Discord is ditching Electron and its new app uses less RAM by elxr on Friday November 06, 2026 @05:14PM (#50399210)
For low budget teams with a decent amount of web experience, you'll still ship faster with electron.

Also, testing is easier with electron if your desktop app started life as a web app.

Re:Discord is ditching Electron and its new app uses less RAM by musha68k on Thursday November 05, 2026 @09:41AM (#50379666)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by elevaet on Thursday November 05, 2026 @09:45AM (#50379712)
Hopefully we will get an Electron-free VSCode too at some point.

edit: there is one https://github.com/Sidenai/sidex haven't tried it yet

Re:Discord is ditching Electron and its new app uses less RAM by teekert on Thursday November 05, 2026 @01:21PM (#50382458)
You mean Zed? https://zed.dev/
Re:Discord is ditching Electron and its new app uses less RAM by kayson on Thursday November 05, 2026 @09:45AM (#50379724)
I'm very interested in (and a total novice in) cross platform GUI application development. Hadn't heard of GPUI, though I had heard of Tauri. I looked at the GPUI front page and saw this mess of almost-CSS method chaining... Surely there's a better way? This seems horrible to me.

> div() .flex() .flex_col() .gap_3() .bg(rgb(0x505050)) .size(px(500.0)) .justify_center() .items_center() .shadow_lg() .border_1() .border_color(rgb(0x0000ff)) .text_xl() .text_color(rgb(0xffffff)) .child(format!("Hello, {}!", &self.text)) .child( div() .flex() .gap_2() .child(div().size_8().bg(gpui::red())) .child(div().size_8().bg(gpui::green())) .child(div().size_8().bg(gpui::blue())) .child(div().size_8().bg(gpui::yellow())) .child(div().size_8().bg(gpui::black())) .child(div().size_8().bg(gpui::white())), )

Re:Discord is ditching Electron and its new app uses less RAM by ijustlovemath on Thursday November 05, 2026 @09:48AM (#50379763)
That's a result of the borrow checker meeting dev ergonomics. Method chaining/functional style ks extremely common. GPUI is also fairly low level, it lets you do a ton of things!
Re:Discord is ditching Electron and its new app uses less RAM by desolate_muffin on Thursday November 05, 2026 @10:05AM (#50380007)
Someone needs close the loop and make an HTML/CSS to GPUI transpiler
Re:Discord is ditching Electron and its new app uses less RAM by Jonovono on Thursday November 05, 2026 @10:11AM (#50380096)
You mean this? https://gpuix.dev
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @10:58AM (#50380764)
So, Blitz? It's by Dioxus Labs and converts HTML and CSS into native Rust rendering like GPUI.
Re:Discord is ditching Electron and its new app uses less RAM by ordu on Thursday November 05, 2026 @10:30AM (#50380343)
> Surely there's a better way?

I'd like to know it. I don't think that it can be substantially better. You have to compromise between the amount of customization you are allowed to do and the amount of options you have to pick values for.

I can't vouch for GPUI, I don't know how good its compromise is, but it bears enough similarities to other modern UI-toolkits. I don't think there is a better way, but if you know one, I'd like to know about it.

And, well, don't forget, it is a front-page example, that is not necessarily an example how one should compose their code, it demonstrates what you can do with GPUI. In real life code you'd probably move those children's construction into separate named functions, maybe you'd use some predefined styles to apply to individual elements, instead of picking fg/bg/text-colors, maybe sizes and some other attributes for each one explicitly, and maybe some other tricks.

Re:Discord is ditching Electron and its new app uses less RAM by eviks on Thursday November 05, 2026 @11:06AM (#50380873)
One improvement could be a better way to group and elide units, e.g.

Instead of

.border_1().border_color(rgb(0x0000ff))

You get

.border(1 0x0000ff)

(guess, this can only be in a macro)

Or at least have "color" which understands that it's allied to border instead of having to repeat "border"

> I don't think that it can be substantially better

Don't give up too early, there is no way it can't be, we don't really have any good systems optimized for ergonomics to reach anything great

Re:Discord is ditching Electron and its new app uses less RAM by c-smile on Thursday November 05, 2026 @03:04PM (#50383750)
> .border(1 0x0000ff)

After 10 or so of those you'll start dreaming of

   border-left: 2px solid rgb(0 0 100%);
right?
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Friday November 06, 2026 @02:28AM (#50389258)
If you're dreaming, why would you stop at that when you could dream of much more visually compelling solid left thick border in a single symbol

┠

or more explicitly

├2

that'd be perfectly paired with a dream-like visual designer that doesn't exist?

Re:Discord is ditching Electron and its new app uses less RAM by alexaholic on Thursday November 05, 2026 @11:03AM (#50380831)
One person's mess is another person's Tailwind
Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Thursday November 05, 2026 @11:04AM (#50380850)
IMHO Rust isn't a great language for describing UIs because it is too explicit in places that doesn't need to be for coding a UI. Which is why in Slint (another Rust UI framework) we opted for a DSL. The application logic stays in Rust, but the UI is described in a language designed for it.

Your example would look like this:

    export component Hello inherits Rectangle {
        in property <string> text: "World";
        width: 500px; height: 500px;
        background: #505050;
        border-width: 1px; border-color: blue;
        drop-shadow-blur: 15px; drop-shadow-color: #0008;
        VerticalLayout {
            alignment: center; spacing: 12px;
            Text { text: "Hello, \{root.text}!"; font-size: 20px; color: white; horizontal-alignment: center; }
            HorizontalLayout {
                alignment: center; spacing: 8px;
                for c in [#f00, #0f0, #00f, #ff0, #000, #fff]: Rectangle { width: 32px; height: 32px; background: c; }
            }
        }
    }
    
More on why we chose a DSL vs code in Rust: https://slint.dev/blog/domain-specific-language-vs-imperativ...
Re:Discord is ditching Electron and its new app uses less RAM by c-smile on Thursday November 05, 2026 @02:49PM (#50383558)
> Rust isn't a great language for describing UIs because it is too explicit in places that doesn't need to be for coding a UI.

That's is not about just Rust ... Any domain has its own optimal or sub-optimal language describing it. Criteria of optimality is a bit subjective of course. Like: INI, TOML, YAML, etc. are better (YMMV, again) for user facing configs than JSON or XML and so on.

I think that HTML is better for defining hierarchical UI structures and CSS and CSS selectors are (arguably again) better to define UI styling.

My Sciter[1] was initially using .FRM alike inputs (VisualBasic forms, good for IDE but bad for a human) but I quickly discovered that having styles, structure and code-behind-UI in single PL makes non-manageable mess. So Sciter uses HTML, CSS and JS we all familiar with. Not 100% match of course but good enough.

[1] https://sciter.com

Re:Discord is ditching Electron and its new app uses less RAM by ivanmontillam on Thursday November 05, 2026 @05:20PM (#50385310)
I love Sciter, but the curse of Discord is bloated web.

They have no shame in deploying a 300 MB hot mess bundle.

Re:Discord is ditching Electron and its new app uses less RAM by MisterMunchkin on Thursday November 05, 2026 @03:53PM (#50384337)
Slint is proprietary though, so that’s a dead end. I’m not going to use something which will inevitably be rug-pulled when you sell to private capital.
Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Friday November 06, 2026 @02:31AM (#50389283)
Slint is an open source, free software. The whole framework is on GitHub. A rug pull can't take back what's already released, and one could always fork if needed.

Btw, a rug pull can happen under even the most permissive licenses. As we've seen in the past with some project changing license or direction. That's more or less already happened with GPUI when Zed refocused development on its own needs rather than other GPUI users resulting in several forks.

Re:Discord is ditching Electron and its new app uses less RAM by IshKebab on Thursday November 05, 2026 @04:04PM (#50384442)
I'm not sure it matters anymore unfortunately. I've vibe coded a few apps using gpui-kit and it works well. It helps that gpui-kit provides a number of high quality components (e.g. the data table is especially good). But even where it doesn't (e.g. log output) Opus 5.5 was able to easily write one that worked perfectly.

It even added ANSI colour support... which I am still on the fence about but it did make the very good point that it means the logging is exactly the same in GUI and CLI mode.

Re:Discord is ditching Electron and its new app uses less RAM by LittleLily on Thursday November 05, 2026 @06:28PM (#50386059)
isn't that basically QML?
Re:Discord is ditching Electron and its new app uses less RAM by thisismyanon2 on Thursday November 05, 2026 @11:21PM (#50388150)
My experience has been that DSLs don't scale well. They were an albatross with Chef just as they were with QML and Slint. With both Slint and various Qt bindings for Rust marshalling data between Rust and the UI is painful. With Slint you get the added bonus of things just not yet existing in the DSL. That's a result of both immaturity and a strong focus on mobile at the expense of desktop. Here's a more idiomatic version of the previous example. IME gpui (and iced) is a lot easier to extend than something with a DSL, and if you check out the gpui example you'll see that gpui provides convenient methods to get consistent styles vs the Slint example where you hardcode widths and sizes.

    use gpui::{black,red,green,blue,yellow,white};

    let Self{text,..} = self;
    
    v_flex()
        .gap_3()
        .bg(rgb(0x505050))
        .size(px(500.0))
        .justify_center()
        .items_center()
        .shadow_lg()
        .border_1()
        .border_color(black())
        .text_xl()
        .text_color(white())
        .child(format!("Hello, {text}!"))
        .child(
            h_flex()
                .gap_2()
                .children(
                    [red(), green(), blue(), yellow(), black(), white()].map(|color|
                        div().size_8().bg(color)
                    )))
Re:Discord is ditching Electron and its new app uses less RAM by CupricTea on Thursday November 05, 2026 @11:18AM (#50380996)
This is basically what coding UI in Bevy was like before the `bsn!` macro
Re:Discord is ditching Electron and its new app uses less RAM by kalleboo on Thursday November 05, 2026 @11:20AM (#50381023)
I'm never going to complain about SwiftUI again
Re:Discord is ditching Electron and its new app uses less RAM by tcallred on Thursday November 05, 2026 @12:17PM (#50381689)
All a language needs to be good at expressing UIs is some sort of tail lambda syntax like Swift and Kotlin. It's the perfect way to express a tree structure (which is essentially all UI) while also being in a true programming language (as opposed to a markup language like XML).
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Thursday November 05, 2026 @01:24PM (#50382516)
Well, keep in mind that you’re not expected to have the entire UI in one statement. You’re supposed to break this up into functions. That’s why stuff like Flutter and SwiftUI work.
Re:Discord is ditching Electron and its new app uses less RAM by tomburgs on Friday November 06, 2026 @08:05AM (#50391859)
Honestly I'd pick this over whatever is going on with tailwind.

On a more serious note I feel like it's not bad but could be improved if they managed to break it down by styling domain (sort of like SwiftUI).

Something along the lines of .flex(gap: 2).text(size: "xl", color: ...)

Re:Discord is ditching Electron and its new app uses less RAM by vazark on Friday November 06, 2026 @09:49AM (#50392981)
honestly I'm nosure why they didn't choose to have a curated subset of HTML/CSS dsl and parser. That's what the code is doing anyway
Re:Discord is ditching Electron and its new app uses less RAM by selfmodruntime on Friday November 06, 2026 @01:04PM (#50395946)
HTML and CSS, for all their faults, are the best layout engine we have.
Re:Discord is ditching Electron and its new app uses less RAM by paxy on Thursday November 05, 2026 @09:46AM (#50379743)
We are at a point where the "port this to rust, make no mistakes" meme is basically a reality.
Re:Discord is ditching Electron and its new app uses less RAM by pseudony on Thursday November 05, 2026 @02:30PM (#50383322)
I don't know about that. I am porting my Rust slop to Go and Zig simultaneously right now and the LLM is finding bugs in the Rust code as it is generating the Go and Zig code.

But.. maybe, maybe this is the opposite of google translate in the 00's - maybe, if you keep porting back and forth, you will eventually arrive at perfection :P

Re:Discord is ditching Electron and its new app uses less RAM by __s on Friday November 06, 2026 @01:05AM (#50388749)
It's not about the bugs we fix, but the bugs we make along the way

I've found multiple passes with different models & 100% line coverage help. Need to push further with fixing. Coverage requirements also cut down on duplication (not entirely, still need to be vigilant) since it increases effort having to include coverage on new code

Re:Discord is ditching Electron and its new app uses less RAM by resters on Thursday November 05, 2026 @09:48AM (#50379757)
discord's electron app was a study in bloatware, quite unlike nearly all other electron apps I've used.
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @09:57AM (#50379872)
Electron being bad is a bit of a junior- to mid-level engineer tell in my eyes, the sort of thing you'd say if you've just learned that some apps use more RAM than others, maybe built a small Rust TUI and are now wondering why not everything is using Rust. Something you'd believe just before you learn what engineering trade-offs are.

So, yeah, enjoy rebuilding complete browsers, I guess? I'm sure they'll run more efficiently than the rendering engines that have been refined and tweaked over the course of now multiple decades.

Well, unless you leave out the annoying stuff, like a11y, IME, RTL, but who needs those things anyway, am I right.

Then you find out that iterating on a fully Rust-based app is sloooow, so you add a scripting layer, maybe integrate a little Lua VM or something that lets you execute JavaScript?

Congratulations. You've built a browser, just with fewer features, more bugs, and probably higher RAM usage. Good job.

Re:Discord is ditching Electron and its new app uses less RAM by post-it on Thursday November 05, 2026 @10:00AM (#50379933)
> Then you find out that iterating on a fully Rust-based app is sloooow

Maybe not anymore. I don't work on any Chrome-sized Rust codebases so I don't know, but iterating on anything is so much faster that it might work out fine.

Re:Discord is ditching Electron and its new app uses less RAM by sgarland on Thursday November 05, 2026 @10:21AM (#50380235)
Eh, it’s still pretty annoying. I have a small voice chat app, and it easily takes a couple of minutes to build releases for all three platforms (MacOS, Linux, Windows) on a MBP.
Re:Discord is ditching Electron and its new app uses less RAM by delta_p_delta_x on Thursday November 05, 2026 @10:05AM (#50379993)
> is a bit of a junior- to mid-level engineer tell in my eyes

There is absolutely no reason for Discord—a chat application—to run everything a browser does. Why do I need to play videos in the chat application? Why do individual avatars and even tags have to run custom shaders? It's called scope creep.

> a11y, IME, RTL

All of this can be done at the platform level. Win32 did this three decades ago. Comes with entire language packs.

> so you add a scripting layer, maybe integrate a little Lua VM or something that lets you execute JavaScript

See above: scope creep; features for features' sake.

Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @10:17AM (#50380159)
> Why do I need to play videos in the chat application?

You know exactly that the moment that Discord launches a new version that no longer plays videos, people will whine about it.

> All of this can be done at the platform level. Win32 did this three decades ago.

Yeah, but they're porting to Rust and GPUI and not that.

Re:Discord is ditching Electron and its new app uses less RAM by gobdovan on Thursday November 05, 2026 @11:13AM (#50380938)
> There is absolutely no reason for Discord—a chat application—to run everything a browser does

Chat apps are literally the central example of why Electron is a God-sent. Here's a video from a Rust guy explaining why there are quite a bit of reasons to do it https://www.youtube.com/watch?v=hnaGZHe8wws .

Re:Discord is ditching Electron and its new app uses less RAM by cstdr on Thursday November 05, 2026 @03:05PM (#50383769)
You don't need a full browser-engine just to render some text with images. The majority of the web api sprawl browsers implement is just baggage for that.
Re:Discord is ditching Electron and its new app uses less RAM by sophacles on Thursday November 05, 2026 @12:37PM (#50381915)
I remember thinking that about "why do i need to display images inline?", back when that idea was pretty novel.

Now i consider that a must have.

Similar for emojis...

It turns out a chat app is about human interaction, not exchanging text, and in human interaction context is a big deal. All these things add context to the chat environment.

Fortunately IRC still works, and you can go enjoy your text only environment if you want!

Re:Discord is ditching Electron and its new app uses less RAM by vmg12 on Thursday November 05, 2026 @10:12AM (#50380098)
Electron is bad, just because Rust is not a good language for building UIs doesn't make electron not bad. People that pick electron (and Rust / gpui) just completely ignore the entire host of other options that are available (I suspect because they want to avoid thinking).
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @10:17AM (#50380177)
Give me some examples, including their cross-platform story (including mobile).
Re:Discord is ditching Electron and its new app uses less RAM by bigstrat2003 on Thursday November 05, 2026 @11:03AM (#50380841)
Cross platform is not an actual achievable goal if you wish to have a pleasant UX. One size does not, in fact, fit all.
Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @01:53PM (#50382880)
Could you please explain why? In the context of a PC application. What OS-specific features do you think should be included (keyboard shortcuts?) that can't be copmile-time feature-gated by OS? I would guess the vast majority of functionality is not OS-specific, between Windows, Linux, and Mac.
Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Thursday November 05, 2026 @11:18AM (#50380994)
I'm working on Slint. It is a declarative UI language that compiles to native code, the application logic can be written in Rust, C++, TS or Python, and it is cross platform, including mobile. Has accessibility through AccessKit. A live preview, so iterating on the UI doesn't mean recompiling Rust.

Compared to Electron, there is no browser, so binaries are a much smaller, use less memory, startup is fast. And the attack surface is also much smaller (no XSS)

Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @10:25AM (#50380274)
Could you please link to some GUI applications you've built in rust, and/or describe why you added those abstractions and built a browser? This doesn't match my experience.
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @10:29AM (#50380332)
I don't understand this question. GPUI's unstable to non-existing a11y, IME, RTL etc. support is well documented.
Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @10:50AM (#50380642)
What you posted doesn't match my experience, so I curious how you arrived at the conclusion that building a GUI application is like building a web browser, and why the abstraction layers you described are necessary as a baseline.
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @10:57AM (#50380758)
But that's not what I wrote at all?
Re:Discord is ditching Electron and its new app uses less RAM by tredre3 on Thursday November 05, 2026 @04:09PM (#50384480)
> so I curious how you arrived at the conclusion that building a GUI application is like building a web browser

The way you phrased it, it's not. However if you've used Discord, you know that to render it you're essentially rebuilding a web browser due to the sheer variety of formatting, images, animation, audio, videos, languages, widgets, and whatnot that must all coexist in arbitrary forms.

Re:Discord is ditching Electron and its new app uses less RAM by easywood on Thursday November 05, 2026 @10:57AM (#50380750)
It is perfectly possible to write an application and not need any web technology whatsoever. This sounds like a perfectly reasonable rewrite. Unless you think calc.exe should also be rewritten for Electron, to avoid creating a new browser in the long run.
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @10:58AM (#50380767)
You are comparing Discord to calc.exe. This is not a serious argument.
Re:Discord is ditching Electron and its new app uses less RAM by spunker540 on Thursday November 05, 2026 @12:16PM (#50381674)
You are stating that any move away from electron is a junior engineer decision—also not serious imo.
Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @12:35PM (#50381904)
Sir, this is a W-- a thread about Discord moving from Electron to Rust/GPUI. Why are you reframing the discussion like this?
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Thursday November 05, 2026 @11:11AM (#50380924)
> I'm sure they'll run more efficiently than the rendering engines that have been refined and tweaked over the course of now multiple decades.

What top-level engineering experience led you to believe the magic of multiple decades guaranteeing improvements?

Re:Discord is ditching Electron and its new app uses less RAM by hendrikmans on Thursday November 05, 2026 @11:24AM (#50381078)
Are you claiming that browsers, their renderers, V8 etc. are slow and unoptimized?
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Friday November 06, 2026 @02:08AM (#50389134)
My claim was much simpler, you've just ignored it as a junior who's never seen an app deteriorate over time because that's technically impossible, progress only marches forward!

But to your point - sure they are, not only in RAM, but also disk space, battery use, and startup speed etc. Some parts of them are fast, but in that suboptimal stuck-in-a-slow-niche kind of way like V8, which a better alternative would just get rid of (no doubt, great engineering once you learn about the almighty "trade-offs" that can excuse any performance failure)

Re:Discord is ditching Electron and its new app uses less RAM by anthk on Thursday November 05, 2026 @01:56PM (#50382913)
> a11y, IME, RTL

Artcraft it's doing that in every software application;

> so you add a scripting layer, maybe integrate a little Lua VM or something that lets you execute JavaScript?

Every Arftcraft software can be command line driven and it's still fast and small compared to your bloated crap.

Re:Discord is ditching Electron and its new app uses less RAM by jmyeet on Thursday November 05, 2026 @10:04AM (#50379989)
We've barely begun seeing the impact of AI on software (IMHO). Things like vibecoding the Adobe suite are going to destroy Adobe. That's going to happen to other companies too. It'll take awhile but it will happen.

I've always disliked Electron apps in principle. The idea was you could write once, run anywhere, which is something we've heard before so many times but it never really works out that way. Back in the early days of Java we heard this mantra with applets and Java desktop apps and the reality was "write once, test everywhere".

The cost is simply too high. Nobody wants an entire browser engine packaged to run a desktop app. Security-wise, this is a nightmare. It's such a huge attack surface (eg [1]). And resource-wise it's also a nightmare. Honestly, Electron apps can't die fast enough for my liking.

What I think we'll see is a return to desktop apps because the cost of porting them to new platforms is dropping like a rock.

There are modding issues with Discord's migration but I believe modding itself is going to be an issue in a world where it's going to be increasingly easy to find and use exploits.

I also wonder if Discord is the best we can do here. I've always hated Discord from a UI/UX perspective. Nothing about it is intuitive (IMHO). There are like 3 different settings buttons. You join a Discord and you get yet another custom flow of having to go to this channel and select roles and do something before you can do something else blah blah blah. Everything feels shoe horned. And Discord channels are a worse repository for information than the old forums were.

[1]: https://www.sentinelone.com/vulnerability-database/cve-2026-...

Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @10:05AM (#50379999)
I had trouble reading more than the opening volley of the article due to popups. Am a Discord user, and rust application programmer: What GUI framework are they using? EGUI? GPUI? Something custom?

GPUI from comments? I meant to try GPUI, but backed off after an announcement pending its maintenance would be in question (?) a few months ago, and Zed broadly ending up being a false messiah, for my uses. (Not on the tier of JetBrains IDEs, a bug with a long thread they closed which (still I believe?) causes it to open cached versions of files, then clobber edits made since the cache, e.g. by other programs. I.e. the sort of bug which renders software too dangerous to use.)

Re:Discord is ditching Electron and its new app uses less RAM by earthnail on Thursday November 05, 2026 @10:08AM (#50380048)
They use GPUI. Says so on X.

" (And it's not Tauri, it's GPUI, so good guess everyone.) "

Re:Discord is ditching Electron and its new app uses less RAM by sphars on Thursday November 05, 2026 @10:39AM (#50380483)
Which I believe GPUI is the same framework that Zed (the editor)[0] is using

[0]: http://zed.dev/

Re:Discord is ditching Electron and its new app uses less RAM by lsaferite on Thursday November 05, 2026 @12:16PM (#50381676)
Considering the fact that the gpui code only exists as a crate under the zed repo, I'd say you are correct.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @02:05PM (#50383017)
The fact they're using gpui is... Bad. Is someone trying to make it integrate with native accessibility frameworks? If not (and if they force the native app on us) this transition is going to lock out a ton of people who use assistive technologies.
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Thursday November 05, 2026 @02:12PM (#50383106)
Yes, see: https://github.com/longbridge/gpui-kit. I've been following these rust UI toolkits and things like accessibility have consistently been missing. This is the first time I've seen a UI library that appears complete enough to build a real product with.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @02:36PM (#50383408)
Yeah, that's what worries me. Pretty much every Rust UI library I've seen which isn't wxdragon/Relm/GTK lacks accessibility. And most of them don't even have the primitives for it (given that most of them are abandoned).
Re:Discord is ditching Electron and its new app uses less RAM by nextaccountic on Thursday November 05, 2026 @03:21PM (#50383960)
It was real world use by COSMIC that motivated Iced to add a11y support in the first place

So Discord using gpui could mean it may get the needed features

Re:Discord is ditching Electron and its new app uses less RAM by tensor on Thursday November 05, 2026 @03:30PM (#50384070)
I don't understand. You can do accessibility with GPUI today. I linked a repo that shows how.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @03:49PM (#50384298)
Yes, and this is good progress (my comment downthread was before I just looked). According to it it uses accesskit, which is quite good already but still in development so accessibility would not be as good as using UIA directly. I am hopeful though that accesskit (which is also used in Godot) will keep getting better and these gaps can be closed.
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Thursday November 05, 2026 @04:01PM (#50384413)
Yeah, and big products like discord using them should help push that along.
Re:Discord is ditching Electron and its new app uses less RAM by Klonoar on Friday November 06, 2026 @09:12AM (#50392497)
COSMIC runs a fork of iced and things don’t make it back upstream nearly fast enough due to the one-maintainer-bus-factor.

You can’t exactly lump them together.

Re:Discord is ditching Electron and its new app uses less RAM by ecshafer on Thursday November 05, 2026 @04:30PM (#50384721)
This response doesn't make sense?

GP you asked if there is accessibility P response: yes, here You then respond that worries you and dismiss the proof?

Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @04:53PM (#50384995)
> This response doesn't make sense?

Apologies. I was noting that the lack of accessibility worried me (well, and weird accessibility breakage too).

Re:Discord is ditching Electron and its new app uses less RAM by rat9988 on Friday November 06, 2026 @02:23AM (#50389230)
You are dismissing again the answer you are getting. Why do you think it is lacking accessibility despite using a framework claiming " GPUI Kit ships 75+ documented components and primitives, WebAssembly support, AccessKit accessibility"
Re:Discord is ditching Electron and its new app uses less RAM by d1sxeyes on Friday November 06, 2026 @04:09AM (#50389953)
To be clear, GPUI Kit is not the same as GPUI. I am not sure if Discord is using GPUI Kit, but accessibility natively is possible with either.

It's reasonable to be concerned that Discord may not have focused on accessibility while rewriting.

It's less reasonable to be concerned that it may be impossible to write accessible apps using GPUI, as that is now possible (https://github.com/zed-industries/zed/blob/main/crates/gpui/...) although this is a fairly recent addition.

It's also less reasonable to assume that an app made with GPUI Kit will automatically be accessible. You still need to put effort into it.

Re:Discord is ditching Electron and its new app uses less RAM by somenameforme on Friday November 06, 2026 @09:43AM (#50392907)
I don't know why people are ignoring the pink elephant here. For medium scale projects, like a Discord app is going to be, LLM competence level is now at a superhuman level, including on higher level architectural/structural type decisions. I would be beyond surprised if the rewrite wasn't largely done by Claude (or similar). And in this context accessibility is also just a prompt away, if it wasn't included from the get-go, which it probably would have been.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Friday November 06, 2026 @10:47AM (#50393824)
Accessibility isn't just something you one-shot. It takes a lot of back-and-forth and testing with actual screen readers/accessibility scanning tools to be good.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Friday November 06, 2026 @10:50AM (#50393870)
I'm not dismissing it, just uncertain how good it is. Quality over quantity and all that. You can have 75 or 100 or 200 UI components and some can be perfectly accessible while others might not be even things accesskit supports right now. Or Accesskit may only partially support a widget. As I've said downthread, I'm hoping that Discord using a UI toolkit like this will cause upstream effects with respect to Accesskit coverage, so we'll have to see when they start migrating people over to it.
Re:Discord is ditching Electron and its new app uses less RAM by marcprux on Thursday November 05, 2026 @05:51PM (#50385671)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by tommica on Friday November 06, 2026 @01:24AM (#50388865)
Oh that looks fricking neat! Might wanna port my little diff-tool to this for funsies!
Re:Discord is ditching Electron and its new app uses less RAM by selfmodruntime on Friday November 06, 2026 @12:58PM (#50395849)
Turns out the browser (electron) wasn‘t always horrible after all.
Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @02:43PM (#50383492)
This is one angle. I do not see it as a deal breaker in the way you phrase it. I suppose we all have our own. If everyone's had to be satisfied, we'd have no software!
Re:Discord is ditching Electron and its new app uses less RAM by Forgeties79 on Thursday November 05, 2026 @02:51PM (#50383590)
It’s potentially a dealbreaker for millions of people whether they want it to be or not unfortunately. For them accessibility is not optional or can otherwise be taken as a “wait and see” issue.
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @03:10PM (#50383825)
This is a dealbreaker for me even if I didn't want it to be. If your application does not either interact with a11y frameworks (UIA, AT-SPI, NSAccessibility, ...) or does not implement an equivalent that communicates with my screen reader, I literally cannot use your application. I could OCR your application, or use AI and have it use your app for me via screenshots, but neither are even remotely comparable to using the native platform accessibility frameworks.
Re:Discord is ditching Electron and its new app uses less RAM by veverkap on Thursday November 05, 2026 @03:32PM (#50384101)
Could someone use AI to make the GPUI kit become accessible? You (or someone else) mentioned that it doesn't even have the primitives so is it a non starter?
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @03:46PM (#50384268)
No, I mentioned that most rust UI toolkits lack even the primitives. The primitives for even basic accessibility, without accessibility frameworks, would be things like focus events, carrot navigation, navigation in containers such as list/combo boxes, line/paragraph handling in multi-line edit boxes and the like. Adding native accessibility forces you to do a lot of this but just in a different way than routing text directly to a screen reader.

As for me doing it? According to prior comments in this thread it's already done, although I haven't tested it so I don't know how complete it is. Adding UIA support to a framework is different from making that support good (screen readers can be very picky). As an example, say you have a label of an edit box. If you position the label just right within it's parent container a screen reader will pick it up automatically and just announce it as you focus the edit box. But if you don't, all you'll hear is "edit <contents|blank>". There are ways around this (e.g., you can override label detection) but the "ideal" state is that the screen reader picks up that stuff automatically and you just give it the bounds of the various controls and UI elements.

Re:Discord is ditching Electron and its new app uses less RAM by selfmodruntime on Friday November 06, 2026 @01:02PM (#50395909)
Neatly phrased comment, where „fuck the blind“ would have sufficed.
Re:Discord is ditching Electron and its new app uses less RAM by davkan on Thursday November 05, 2026 @02:45PM (#50383513)
Could maybe use the browser client as a workaround.
Re:Discord is ditching Electron and its new app uses less RAM by anthony-eid on Thursday November 05, 2026 @02:59PM (#50383691)
gpui does have a11y support for accessibility, Zed just hasn't piped it through yet. I'm also pretty sure Discord is using their own fork of gpui with patches to add any missing functionality they needed
Re:Discord is ditching Electron and its new app uses less RAM by ethin on Thursday November 05, 2026 @04:54PM (#50385008)
I really hope Zed gets in the support, I'm curious to try it given all the good things said about it (particularly on HN :))
Re:Discord is ditching Electron and its new app uses less RAM by porphyra on Thursday November 05, 2026 @02:05PM (#50383025)
weird how the website doesn't have a single screenshot on it, considering it's for a GRAPHICAL user interface. You'd think the examples page would have some screenshots, but in fact it's just example code snippets with no indication of what the code would render as.

[1] https://gpui.rs/

[2] https://gpui.rs/examples/

Re:Discord is ditching Electron and its new app uses less RAM by drcongo on Thursday November 05, 2026 @11:37AM (#50381233)
I've built a couple of desktop apps for myself recently using GPUI-kit [0] and it's been fantastic. I'm not a Rust programmer, so leaned heavily on Opus 5.5 for both, but the end result is two apps that are considerably faster than anything I could pay money for, and tailored to exactly what I need.

[0] https://gpui-kit.com

Re:Discord is ditching Electron and its new app uses less RAM by thisismyanon2 on Thursday November 05, 2026 @08:44PM (#50387109)
I use gpui-kit because it's far and away the prettiest toolkit for Rust and because the underlying gpui crate provides the nicest abstractions over state and async.

But gpui-kit is slop for clankers. The name change from gpui-component to gpui-kit was messy with lots of dangling links remaining for weeks. What little documentation exists is impenetrable Claude speak or buried in "skills.md" files. The APIs are typically incomplete in a way that a human would've never signed off on. e.g. there's no way to enumerate the backing contents of combo boxes, there are multiple tooltip APIs (but even then only buttons can get tooltips). Mac support is clearly just a checkmark that no human has ever looked at (e.g. the way in which menus are mangled). The examples are unhelpful here because, well, see the second point.

Not a bad showing for what's mostly a one man show. But that raises the second problem. Zed's largely distanced themselves from the open source version of gpui and gpui-kit has one human developer. It's a rickety foundation for a commercial app (which is likely why Discord appears to have forked gpui).

Re:Discord is ditching Electron and its new app uses less RAM by drcongo on Friday November 06, 2026 @03:18AM (#50389571)
Thanks for the extra context, definitely useful to know.
Re:Discord is ditching Electron and its new app uses less RAM by hbn on Thursday November 05, 2026 @10:27AM (#50380296)
The Verge is paywalled now but the article really doesn't have much content other than "they're working on a Rust client and someone showed an early build using 290MB of RAM"
Re:Discord is ditching Electron and its new app uses less RAM by 1024bits on Thursday November 05, 2026 @12:03PM (#50381542)
We've been using Iced for Totem [0], our cross-platform collaborative workspace app. Incidentally we took a similar route to what Discord is aiming to do, layering a rust engine with native UI (e.g. Swift on mobile) and it has been going well so far.

The one major concern I have with this framework, and with rust UI frameworks in general, is accessibility. That's something you get for free or nearly-free in other ecosystems but seems to require a fair bit of elbow grease here.

Still, I would wholeheartedly recommend Iced, with the one caveat that it hasn't yet hit 1.0 and version upgrades could be a little painful, and might bring big changes.

[0] https://thinktotem.com

Re:Discord is ditching Electron and its new app uses less RAM by slashink on Thursday November 05, 2026 @01:19PM (#50382442)
We're using GPUI for this.
Re:Discord is ditching Electron and its new app uses less RAM by marcprux on Thursday November 05, 2026 @05:47PM (#50385607)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by superdisk on Thursday November 05, 2026 @10:38PM (#50387861)
Looks like vibeslorp. Just checked the GitHub and I see you created it. Come on man.
Re:Discord is ditching Electron and its new app uses less RAM by marcprux on Thursday November 05, 2026 @11:22PM (#50388155)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by superdisk on Thursday November 05, 2026 @11:41PM (#50388301)
Yes, check if you want. I don't even mind AI but snarkily recommending your own project (which has an extremely "default vibed" landing page) as if it's an established tool is bad manners.
Re:Discord is ditching Electron and its new app uses less RAM by marcprux on Thursday November 05, 2026 @11:57PM (#50388400)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by yownie on Friday November 06, 2026 @12:44AM (#50388638)
that's loser talk right there.
Re:Discord is ditching Electron and its new app uses less RAM by indemnity on Thursday November 05, 2026 @11:28PM (#50388208)
[x] rule of three

[x] smallcaps headings

[x] it's not this, it's that

[x] comically overselling marketing language

[x] detached third person perspective

slop confirmed

Re:Discord is ditching Electron and its new app uses less RAM by marcprux on Thursday November 05, 2026 @11:35PM (#50388251)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by z0al on Thursday November 05, 2026 @06:41PM (#50386181)
Are you using Zed's crate or a private fork?
Re:Discord is ditching Electron and its new app uses less RAM by slashink on Thursday November 05, 2026 @11:57PM (#50388399)
Based on Zed's gpui but we have applied a lot of patches so it's basically a private fork at this point. We're hoping to work with Zed to upstream these patches!
Re:Discord is ditching Electron and its new app uses less RAM by z0al on Friday November 06, 2026 @06:42AM (#50391175)
> We're hoping to work with Zed to upstream these patches!

Yes please. The GPUI ecosystem is too fragmented

Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @01:25PM (#50382538)
> I had trouble reading more than the opening volley of the article due to popups.

Why do people not use adblockers even this late since their introduction?

Re:Discord is ditching Electron and its new app uses less RAM by dmix on Thursday November 05, 2026 @05:13PM (#50385230)
iPhone
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @06:04PM (#50385800)
There are adblockers on phones including iPhones too.
Re:Discord is ditching Electron and its new app uses less RAM by dmix on Thursday November 05, 2026 @11:12PM (#50388084)
I use a DNS one but it's not perfect.
Re:Discord is ditching Electron and its new app uses less RAM by asimovDev on Friday November 06, 2026 @03:43AM (#50389744)
please download uBlock Origin from the App Store
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Saturday November 07, 2026 @12:43AM (#50401976)
AdGuard and similar free ones via VPN are good.
Re:Discord is ditching Electron and its new app uses less RAM by anthony-eid on Thursday November 05, 2026 @03:13PM (#50383866)
Could you link this bug report please? I would love to take a look at it to see if i could fix it
Re:Discord is ditching Electron and its new app uses less RAM by the__alchemist on Thursday November 05, 2026 @04:01PM (#50384416)
https://github.com/zed-industries/zed/issues/38109

Opened a year ago. Still comments this week.

Re:Discord is ditching Electron and its new app uses less RAM by selfmodruntime on Friday November 06, 2026 @12:58PM (#50395841)
I would also be wary of doing this in Rust because the GUI framework story is very much not finished
Re:Discord is ditching Electron and its new app uses less RAM by Jonovono on Thursday November 05, 2026 @10:10AM (#50380073)
GPUI is pretty great. I whipped this up the other week and now I no longer need to open VSCode: https://diffy.run
Re:Discord is ditching Electron and its new app uses less RAM by wackget on Thursday November 05, 2026 @10:14AM (#50380121)
How come it's presented as paid software when the binaries are available on GitHub?

Also naming your company "__slop" is a bold move!

Re:Discord is ditching Electron and its new app uses less RAM by Jonovono on Thursday November 05, 2026 @10:19AM (#50380210)
It's open source! Just if you want to pay for it, i'd like to continue working on it and throwing tokens at it but I don't really expect to make much from it. Theres links to the download page at the bottom too: https://diffy.run/downloads/

Thanks haha hitslop, it means "a property used to increase the interactive touch area of a component beyond its visible layout boundaries", which I thought was so funny when I came across it. Owned the domain since 2020, knew it would come in handy eventually!

Re:Discord is ditching Electron and its new app uses less RAM by elxr on Saturday November 07, 2026 @07:04PM (#50409248)
Have you considered zed instead? What does this offer that zed doesn't?

The diff viewing experience in zed is really polished IMO.

Re:Discord is ditching Electron and its new app uses less RAM by Jonovono on Monday November 09, 2026 @09:27AM (#50426115)
I actually really dislike the zed diff viewer. I tried to like it many times, couldn't get used to it. That's why I was still just using VSCode. That was about 6 months ago, so maybe I should take another look tho
Re:Discord is ditching Electron and its new app uses less RAM by xmichael909 on Thursday November 05, 2026 @10:12AM (#50380099)
more for sam altman!
Re:Discord is ditching Electron and its new app uses less RAM by hobo_mark on Thursday November 05, 2026 @10:22AM (#50380242)
RIP ripcord.
Re:Discord is ditching Electron and its new app uses less RAM by wpm on Thursday November 05, 2026 @10:25AM (#50380272)
Someone should do this for Slack
Re:Discord is ditching Electron and its new app uses less RAM by AlbinoDrought on Thursday November 05, 2026 @10:47AM (#50380586)
With the browser sandbox gone, it will be a good test of faith. Here's to an RCE-free port
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @10:59AM (#50380784)
GPUI is quite a strange choice because there are so many forks of it, because Zed which made it is not interested in PRs that don't serve their use case of text editors, thus lots of common sense PRs for general desktop development were rejected.
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Thursday November 05, 2026 @02:19PM (#50383206)
The fragmentation around GPUI really is unfortunate. It seems to be the only framework that is complete enough for serious products. E.g. you can pair it with accesskit and have accessibility, it has a good number of components including difficult to write ones like text editors with highlighting.
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Thursday November 05, 2026 @08:37PM (#50387068)
I'm looking forward to Blitz personally. And I don't think it's true that it's the only complete enough solution as there are many in Rust like slint, iced, egui etc.
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Friday November 06, 2026 @10:30PM (#50401370)
Slint yes but it’s commercial. Iced didn’t have a real accessibility story when I looked a few months ago. Ditto for egui. Also egui is immediate mode only which limits its general applicability.
Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Saturday November 07, 2026 @12:36AM (#50401953)
Slint is under multiple license, including the open-source GPL and a royalty free license. What specifically bothers you about the licensing? (I work on Slint, genuinely curious)
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Saturday November 07, 2026 @12:44AM (#50401982)
Probably that it's not non copy left like MIT so they can't just use it without sharing code back.
[dead]
Re:Discord is ditching Electron and its new app uses less RAM by satvikpendem on Saturday November 07, 2026 @03:09PM (#50407593)
For free without paying, like the other GUI frameworks.
Re:Discord is ditching Electron and its new app uses less RAM by tensor on Saturday November 07, 2026 @05:29PM (#50408655)
Correct. This is a class of products that I really would rather not go commercial for. It's extremely difficult to change after the fact so from a business standpoint it puts us in a place where if the vendor decides to start cranking prices or they sell their business and the new owner does, then we are in a really difficult position.

It's not actually about paying money or not, I've signed up for many a patreon or what not to support open source projects I use. I fully believe in paying people for software. But for core things like this I do prefer MIT/APACHE.

Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Sunday November 08, 2026 @04:14PM (#50417321)
But Slint is open source and you can for it if we were to change the license, and the royalty free license is free of charge.

Even MIT/Apache software can change license and start charging, as we've seen in the past with some project.

Re:Discord is ditching Electron and its new app uses less RAM by tensor on Sunday November 08, 2026 @09:31PM (#50420274)
My app is proprietary though, so I can't use the royalty free license. I've definitely licensed commercial software before. For example, I've licensed OCR software for many years.

The difference to me is that with OCR I can change it out with acceptable effort in the case that the vendor does something that we can't agree to. But it's just too hard to swap out a UI library. That's a major rewrite. It's too risky, to the point I'd rather spend resources bringing an MIT/APACHE UI kit up to my needs than risk being locked in with a vendor.

Re:Discord is ditching Electron and its new app uses less RAM by ogoffart on Sunday November 08, 2026 @04:12PM (#50417308)
The royalty free license is free of charge, no need to pay
Re:Discord is ditching Electron and its new app uses less RAM by lyorig on Thursday November 05, 2026 @11:07AM (#50380887)
Serein[0] recently got on my radar, being exactly that (A Rust Discord client). Been using it for the last few weeks, and boy is it snappy! I rather like this trend of stuff being rewritten in Rust (usually via LLMs). Spotifast[1] being another great example.

Perhaps Discord caught wind that this is now possible, and don’t want to be left behind?

[0]: https://github.com/ViceVerse-cz/Serein

[1]: https://github.com/crmne/spotifast

Re:Discord is ditching Electron and its new app uses less RAM by Tmpod on Friday November 06, 2026 @08:56AM (#50392332)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by reinhash on Thursday November 05, 2026 @11:25AM (#50381093)
It's great to see so many big companies making the switch to Rust. It is an amazing language and by now it has proven to be a solid multi-purpose language. Many engineer consider Rust a systems programming language (and it is!), but it also offers great abstractions to write on a higher level, building API's and Interfaces
Re:Discord is ditching Electron and its new app uses less RAM by nubinetwork on Thursday November 05, 2026 @12:27PM (#50381804)
Hopefully it'll support arm64, I just found out the current version is amd64 only, despite being electron and also runnable on android.
Re:Discord is ditching Electron and its new app uses less RAM by slashink on Thursday November 05, 2026 @01:21PM (#50382471)
Only true today for Linux. For both Windows and Mac we ship an ARM64 client. With this new Rust version we're also going to ship an ARM64 Linux client.
Re:Discord is ditching Electron and its new app uses less RAM by HelloUsername on Thursday November 05, 2026 @12:40PM (#50381946)
Re:Discord is ditching Electron and its new app uses less RAM by yigalirani on Thursday November 05, 2026 @12:40PM (#50381959)
an aternative approach is to use using DOM Virtualization. that can save a lot of ram. i wonder if they tried that before the rewrite
Re:Discord is ditching Electron and its new app uses less RAM by mahboi on Thursday November 05, 2026 @12:41PM (#50381965)
99% of the important parts here are not Rust itself but whatever stack is drawing the UI
Re:Discord is ditching Electron and its new app uses less RAM by kogasa240p on Thursday November 05, 2026 @01:08PM (#50382268)
What?? As much as I despise Discord this is a positive trend, hope other companies follow suit. Javascript on desktop is a plague on computing and the sooner it dies, the better.
Re:Discord is ditching Electron and its new app uses less RAM by happyPersonR on Thursday November 05, 2026 @01:11PM (#50382312)
Most people have ditched discord because if you try to do anything of value discord deletes the server
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @01:38PM (#50382726)
Community managers must learn to never build a community on someone else's platform.
Re:Discord is ditching Electron and its new app uses less RAM by lukan on Thursday November 05, 2026 @01:55PM (#50382908)
But you do realise your advice is ignored by roughly 99.9% of people who use FB and co. and this is still where the people are?

Also, what real choices of owned plattforms besides old school forums are there?

Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @01:59PM (#50382953)
Facebook is one of the worst places to build a community. You now have to pay to post more than two links a month, even.

And you might be impressed how far forums have come. Open source Discourse forum now has built-in Discord like voice and video chat, along with real time text posts. (It also powers some extremely large communities with millions of users.)

Re:Discord is ditching Electron and its new app uses less RAM by lukan on Thursday November 05, 2026 @05:31PM (#50385431)
Oh I agree in general, I don't have FB. And discourse forum is probably what I would have tried too, but can it really scale to millions of active users? The largest I know are some linux forums, but they are way smaller.
Re:Discord is ditching Electron and its new app uses less RAM by Scaled on Thursday November 05, 2026 @06:03PM (#50385786)
Oh yes, it's used by Roblox, Blizzard, Unity, Epic, etc. Often the big companies remove the branding, but it's Discourse under the hood.
Re:Discord is ditching Electron and its new app uses less RAM by bigyabai on Thursday November 05, 2026 @04:14PM (#50384531)
> what real choices of owned plattforms besides old school forums are there?

ActivityPub, AT Protocol, Nostr, to name a few.

Re:Discord is ditching Electron and its new app uses less RAM by lukan on Thursday November 05, 2026 @05:29PM (#50385414)
And what thriving communities build up on those protocols?
Re:Discord is ditching Electron and its new app uses less RAM by bigyabai on Thursday November 05, 2026 @11:38PM (#50388271)
Close-knit ones, the sort that don't trade principles for outreach.

Bully on me for expecting narcissists to grow a spine.

Re:Discord is ditching Electron and its new app uses less RAM by subarctic on Thursday November 05, 2026 @02:57PM (#50383661)
If everyone listened to this advice most communities would not be built
Re:Discord is ditching Electron and its new app uses less RAM by asdff on Thursday November 05, 2026 @03:26PM (#50384033)
It used to be how all communities were built before the platforms.
Re:Discord is ditching Electron and its new app uses less RAM by HoldOnAMinute on Thursday November 05, 2026 @01:13PM (#50382336)
Since GenAI can build you a bespoke Native UI software layer cheaply, why not?
Re:Discord is ditching Electron and its new app uses less RAM by xnx on Thursday November 05, 2026 @01:15PM (#50382363)
Re:Discord is ditching Electron and its new app uses less RAM by WhereIsTheTruth on Thursday November 05, 2026 @01:25PM (#50382535)
300mb still is a lot
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Thursday November 05, 2026 @01:28PM (#50382579)
Well, Discord is a pretty complex app. It’s loading/caching images, subscribing to many chats at once, needs to be able to hop into a call at any time, and also renders (most) arbitrary Markdown.
Re:Discord is ditching Electron and its new app uses less RAM by anthk on Thursday November 05, 2026 @01:53PM (#50382873)
Kopete did that under 100MB 15-20 years ago.
Re:Discord is ditching Electron and its new app uses less RAM by WhitneyLand on Thursday November 05, 2026 @01:51PM (#50382848)
Notable on the mobile app side that react native is getting tossed out along with electron.

It makes sense and I think they are going to be more teams moving in this direction.

Now that agents are good enough to one shot native UI from a Figma spec, these extra layers will be seen more as adding unnecessary complexity and ram bloat.

Re:Discord is ditching Electron and its new app uses less RAM by 1nxpired on Thursday November 05, 2026 @01:54PM (#50382897)
Still a bit high for a messaging app.
Re:Discord is ditching Electron and its new app uses less RAM by vallode on Thursday November 05, 2026 @01:56PM (#50382914)
At this stage I think it is safe to say that Discord is no longer "a messaging" app, since it is basically a social media platform in its own right.
Re:Discord is ditching Electron and its new app uses less RAM by xnx on Thursday November 05, 2026 @01:56PM (#50382926)
I kinda wish we went the other way, and all apps were web apps: easier to modify on the client side, etc.
Re:Discord is ditching Electron and its new app uses less RAM by ddejohn on Friday November 06, 2026 @02:20AM (#50389211)
not in a million years do I want to see personal computers turn into chromebooks
Re:Discord is ditching Electron and its new app uses less RAM by stefanos82 on Thursday November 05, 2026 @02:14PM (#50383142)
Full circle! Back to native code and use libraries like Qt, Dear ImGUI, and so forth LOL!
Re:Discord is ditching Electron and its new app uses less RAM by nottorp on Thursday November 05, 2026 @02:18PM (#50383186)
Rust? What GUIs have Rust bindings?
Re:Discord is ditching Electron and its new app uses less RAM by Varelion on Thursday November 05, 2026 @02:18PM (#50383191)
About fucking time.
Re:Discord is ditching Electron and its new app uses less RAM by stasomatic on Thursday November 05, 2026 @02:28PM (#50383306)
Who cares? I've never had performance issues with Slack, Discord and the like. It runs fast enough on my MBP. They could make it faster by removing the casino lights and prompts and upsells, and research other ways to monetize. Electron is not the issue with Discord, it's their constant annoying nagging.
Re:Discord is ditching Electron and its new app uses less RAM by literallyroy on Thursday November 05, 2026 @02:54PM (#50383623)
People playing games trying to squeeze out a few more frames.
Re:Discord is ditching Electron and its new app uses less RAM by lstodd on Thursday November 05, 2026 @03:18PM (#50383928)
Or a few more Eve clients
Re:Discord is ditching Electron and its new app uses less RAM by viraptor on Thursday November 05, 2026 @03:24PM (#50384001)
Me, but also everyone a bit. Almost nobody cares about one of those applications in isolation. You start caring when you get a few of them and run out of ram. Sure, you can run Slack and Discord or something similar at the same time. But once you do, can you comfortably do other work without any visible slowdown? Or is this the threshold for "I need more than 8GB of ram?" You may be spending $ because of decisions like that.

Hot take: We should be able to comfortably run generic office desktops today with 4GB ram. We don't because too many people think "Who cares?"

Re:Discord is ditching Electron and its new app uses less RAM by stasomatic on Thursday November 05, 2026 @04:47PM (#50384912)
I haven't run any laptop or a desktop with less than 16GB of RAM for over 2 decades. That's table stakes and a minimum. My uConsole CM5 Lite has 16GB. My 14 year old TP X230 has 32GB. I don't know what to tell you, if you want to swap to disk, then suffer the consequences.
Re:Discord is ditching Electron and its new app uses less RAM by viraptor on Thursday November 05, 2026 @05:46PM (#50385600)
There are two problems here:

1. You can't imagine that 8GB is enough for office work. It still is with enough care.

2. You can't imagine that a lot of this usage is waste. Sure you can buy more ram, but what if you needed half the memory and didn't swap?

I've got 30GB in use (some of it already compressed) and around 20GB of that is useless copies of some browser engine in various apps. It's insane that anyone is accepting that as table stakes and tells the user to "suffer the consequences" rather then raging at the current state of the industry.

We ran quick and responsive office suites in a fraction of that decades ago and 4GB in a common office machine should handle this just fine. (And still can on 8GB on a well configured machine. 4GB is tight but may be still comfortable on Linux)

No. I want the great native rewriting and de-Chroming to start, and I want the companies that don't follow to suffer the consequences of getting rejected from the more lean machines.

Re:Discord is ditching Electron and its new app uses less RAM by stasomatic on Saturday November 07, 2026 @11:45AM (#50405935)
1. You can't imagine that <8GB is enough for office work. It still is with enough care.

Perhaps with DOS?

I don't need to imagine it, I've used 4/8GB early Airs, netbooks, slow Gateways and Dells. Turtles. I don't want to optimize my RAM. If something runs away, I'll kill it. I need more RAM. What you are saying is romantic in principle, and I don't disagree with the principle, but that's a dream and we need more RAM.

Re:Discord is ditching Electron and its new app uses less RAM by mvdtnz on Thursday November 05, 2026 @03:26PM (#50384022)
Not everyone is on a Macbook Pro. There is an enormous addressible market of people on lower end devices.
Re:Discord is ditching Electron and its new app uses less RAM by nophunphil on Thursday November 05, 2026 @03:30PM (#50384063)
From that angle, sure. But maybe every program running on my machine doesn't need to run a full web browser instance.
Re:Discord is ditching Electron and its new app uses less RAM by stasomatic on Thursday November 05, 2026 @04:56PM (#50385036)
I agree, but that's where we are and I've never been hampered. Electron is not going away.

I run Slack, Discord, Signal, Bitwarden, Asana, VS Code, GitHub - all idling quietly on a 16GB MPB M2. Was the same on my M2.

It's overblown, I don't care about Electron, how it's made (I understand how), who makes it, no dog in the hunt, but there is too much FUD about it, IMO.

Re:Discord is ditching Electron and its new app uses less RAM by skydhash on Thursday November 05, 2026 @06:42PM (#50386191)
In lot of corporate offices, it’s SFF and 1 liter desktops with 8 gb of ram and windows. You use Slack and Chrome, plus MDM software and you barely have enough compute left to move the cursor.
Re:Discord is ditching Electron and its new app uses less RAM by drdexebtjl on Thursday November 05, 2026 @07:51PM (#50386761)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by asimovDev on Friday November 06, 2026 @03:51AM (#50389809)
I really feel for them. Back in the day I couldn't play a game while I had Skype open. I was so happy when my friend groups switched to TeamSpeak which used miniscule amount of resources in comparison to Skype. Well until 2015 came and we all switched to discord lol
Re:Discord is ditching Electron and its new app uses less RAM by elxr on Friday November 06, 2026 @05:07PM (#50399135)
> there is too much FUD about it, IMO.

Yeah it's not as bad as people make it seem, but it's also far from ideal. Especially with how many tools we have nowadays to build performant desktop apps, a company of that size should really not be using electron if they know better.

Re:Discord is ditching Electron and its new app uses less RAM by PUSH_AX on Thursday November 05, 2026 @05:27PM (#50385384)
Discord runs games inside it now, although it's just a wrapper around a frame for the game it still doesn't help if its heavy.
Re:Discord is ditching Electron and its new app uses less RAM by protocolture on Thursday November 05, 2026 @07:07PM (#50386396)
Slack used to be a sizable portion of my old business stack on an 8GB X1 Carbon.

Windows doesnt leave you a lot of change from 8GB these days.

I used to have issues as Firefox would open a tab, cap out my available memory and 3cx would start stuttering causing voice issues.

The solution was to move to a carbon with 32GB RAM, but like, I should probably expect more out of Windows/Slack/3CX/Firefox in the first place. Feeding the beast more RAM is no longer a financially viable alternative for a lot of people.

Re:Discord is ditching Electron and its new app uses less RAM by stasomatic on Friday November 06, 2026 @10:53AM (#50393905)
The software bloat isn't ever going to go away. If you had 512 GB of RAM, would you care? We need cheap RAM.
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @07:42PM (#50386698)
No snowflake feels responsible for the avalanche.
Re:Discord is ditching Electron and its new app uses less RAM by abdullahkhalids on Thursday November 05, 2026 @09:29PM (#50387403)
Apps end up being implicitly targeted for performance at a certain level of computer. If your computer is faster than that level, you won't face any problems. if your computer is slower, you will face problems.

If everyone buys faster computers, the developers will correspondingly stuff more "features" in there to make it slower.

Re:Discord is ditching Electron and its new app uses less RAM by nozzlegear on Thursday November 05, 2026 @11:15PM (#50388107)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Friday November 06, 2026 @12:18PM (#50395284)
A MacBook Pro is one of the most performant possible computers you could try this on. Electron apps are absolutely terrible without those kinds of resources (RAM especially). Keep in mind that Discord is also an app intended to be used by people who are gaming or streaming video as it’s original purpose, so it should be using as little CPU as possible to not interfere with e.g. the game.
Re:Discord is ditching Electron and its new app uses less RAM by selfmodruntime on Friday November 06, 2026 @01:08PM (#50396006)
Exactly. Most people hating on electron have hundreds of tabs open
Re:Discord is ditching Electron and its new app uses less RAM by elxr on Friday November 06, 2026 @05:05PM (#50399116)
Discord takes over 2 seconds to launch for me, which is ridiculous for a mostly text-based app.

In fact, there's almost no electron app that feels good to launch. I care very much about having things I interact with on a daily basis feel quick.

Re:Discord is ditching Electron and its new app uses less RAM by devinhades333 on Thursday November 05, 2026 @02:57PM (#50383664)
SO annoying that pay only subscription only articles continue to rank in the top pages of this.. a paid only or subscription only article that is not accessible to everyone should automatically no be considered for 1st page ranking
Re:Discord is ditching Electron and its new app uses less RAM by asdff on Thursday November 05, 2026 @03:18PM (#50383929)
Or just use ripcord and use what maybe 2mb of resources
Re:Discord is ditching Electron and its new app uses less RAM by ftchd on Thursday November 05, 2026 @03:45PM (#50384253)
Everything consumes less ram than Electron
Re:Discord is ditching Electron and its new app uses less RAM by leolastforce on Thursday November 05, 2026 @03:52PM (#50384328)
Ram was honestly the biggest reason not to use the discord app and this is great but isn't the thing converted with ai?
Re:Discord is ditching Electron and its new app uses less RAM by cuzezzzbbfofai on Thursday November 05, 2026 @03:57PM (#50384369)
Good. We need to save RAM to run AI models.
Re:Discord is ditching Electron and its new app uses less RAM by bufio on Thursday November 05, 2026 @04:22PM (#50384633)
"just 290MB of RAM."
Re:Discord is ditching Electron and its new app uses less RAM by throwaway2037 on Thursday November 05, 2026 @04:48PM (#50384929)
From the website https://gpui.rs/, I see this description:

    > GPU-accelerated UI framework for Rust
Can someone explain to me why a text editor needs to be GPU-accelerated? Literally, you are only blitting a few icons and painting text. What am I missing? To be clear, I am not here to doubt that the toolkit is good. Rather, I am asking why is "GPU-accelerated" important? Most people in 2026 that use an IDE are also equipped with a multi-GHz CPU has has plenty of compute to paint whatever pixels necessary at more than 60Hz refresh rate.
Re:Discord is ditching Electron and its new app uses less RAM by cush on Thursday November 05, 2026 @04:54PM (#50385007)
Discord is a text editor?
Re:Discord is ditching Electron and its new app uses less RAM by throwaway2037 on Thursday November 05, 2026 @05:29PM (#50385405)
Fair point. It would be better to say: "Primarily text-based GUIs". I was looking for a good way to describe apps that are not primarly showing video or rendering 3D graphics.
Re:Discord is ditching Electron and its new app uses less RAM by asimovDev on Friday November 06, 2026 @03:45AM (#50389759)
a lot of discord is non-text. People share videos and images all the time. Everyone has profile pictures and profiles are customizeable with banners and animated backgrounds. It's not an IRC chatroom app.
Re:Discord is ditching Electron and its new app uses less RAM by nomel on Thursday November 05, 2026 @05:01PM (#50385101)
I think you underestimate how intense drawing text is, with all the aliasing and whatnot that goes on, spanning the full width of a 4k monitor. You can get a feel for it by using a terminal that isn't GPU accelerated, or turn off GPU acceleration in VSCode, Microsoft office, etc. Add in images and video, and you get people complaining about poor battery life.

It's either you peg a CPU while simply scrolling, or your GPU does a small amount of power efficient, buttery smooth, work.

Re:Discord is ditching Electron and its new app uses less RAM by throwaway2037 on Thursday November 05, 2026 @05:27PM (#50385387)
This is a very good reply! I stand corrected, and thank you to do so in a very polite and succinct manner. A better way to think about GPUs in 2026: They are used as a co-processor and are very efficient to paint pixels.
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Friday November 06, 2026 @01:29AM (#50388896)
Yea, pretty much. Honestly, GPU rendering is so standard these days you'd have a pretty hard time displaying anything on a screen without using one (normally, the GPU processor or the video card it's a part of, or the integrated GPU is the one driving actual display output through HDMI/DisplayPort/motherboard connection. Which speeds things up because the CPU never has to actually move framebuffers around* (except through manipulating GPU handles) since that's what the GPU is good at.

* Also often how modern DRM works, it just prevents the OS from reading back data on the GPU buffer for that application, so the GPU (and display output port) are the only things that actually see the data.

Re:Discord is ditching Electron and its new app uses less RAM by hburd on Thursday November 05, 2026 @05:43PM (#50385569)
You can cache the glyphs in an atlas and avoid re-rendering each glyph every time. But this comes with its own complications and tradeoffs.
Re:Discord is ditching Electron and its new app uses less RAM by nomel on Tuesday November 10, 2026 @03:45PM (#50446094)
Then draw it with the CPU? Alternatively, have this cache live in the GPU as a texture, where dedicated hardware can handle most of the transformations.
Re:Discord is ditching Electron and its new app uses less RAM by dmix on Thursday November 05, 2026 @05:15PM (#50385255)
I tried Zed quite a bit and I didn’t noticed much performance difference vs VSCode. Might be an overrated angle even though developers eat that stuff up in marketing.
Re:Discord is ditching Electron and its new app uses less RAM by danpalmer on Thursday November 05, 2026 @06:47PM (#50386242)
Zed's performance only really shows in huge windows, lots of layout things going on, big files, etc. Basic usage doesn't show it on modern high spec dev machines.
Re:Discord is ditching Electron and its new app uses less RAM by itsTyrion on Friday November 06, 2026 @11:54AM (#50394911)
Can't confirm. Found it to be faster basically always. Starts FAST, opening a project or switching is "blink and you miss it", so is basically every dialog and menu
Re:Discord is ditching Electron and its new app uses less RAM by falsaberN1 on Thursday November 05, 2026 @07:41PM (#50386688)
Oh, so the reduction in RAM usage is going to mean it's going to use my precious VRAM instead? No thanks.
Re:Discord is ditching Electron and its new app uses less RAM by pornel on Thursday November 05, 2026 @10:07PM (#50387674)
If you're using an OS newer than Windows XP, then the app window is going to be rendered by a GPU-based compositor anyway.

I don't know about GPUI in particular, but it's possible to make GPU-accelerated rendering use less VRAM by generating graphics with shaders on the fly instead of uploading sprites/bitmaps drawn by the CPU.

Re:Discord is ditching Electron and its new app uses less RAM by 7bit on Friday November 06, 2026 @10:55AM (#50393946)
Yeah, so why not use OS then for rendering and roll your own rendering pipeline?
Re:Discord is ditching Electron and its new app uses less RAM by pornel on Friday November 06, 2026 @11:43AM (#50394747)
because OSes have different UI toolkits with their own vendor lock-in, quirks, limitations, preferred languages, legacy baggage, and random bursts of "everything is now deprecated except the newest fad which will be deprecated next year" and "we're making everything flat and/or semitransparent!". Then most of the time the stock widgets are too basic to even support what Discord wants. This is an expensive PITA to develop and test for, and it's what lead app developers to run away to Electron.
Re:Discord is ditching Electron and its new app uses less RAM by throwaway2037 on Thursday November 05, 2026 @04:50PM (#50384961)
What is the advantage of GPUI over Qt? As I understand, Qt has excellent Rust support in 2026.
Re:Discord is ditching Electron and its new app uses less RAM by vmg12 on Thursday November 05, 2026 @05:07PM (#50385174)
Qt is not free
Re:Discord is ditching Electron and its new app uses less RAM by Rohansi on Thursday November 05, 2026 @05:23PM (#50385345)
Too expensive for Discord?
Re:Discord is ditching Electron and its new app uses less RAM by diath on Thursday November 05, 2026 @06:18PM (#50385955)
In what way it isn't free? The LGPL license is fine for Discord's use case.
Re:Discord is ditching Electron and its new app uses less RAM by abofh on Thursday November 05, 2026 @05:05PM (#50385145)
Now do slack please
Re:Discord is ditching Electron and its new app uses less RAM by renehsz on Thursday November 05, 2026 @05:26PM (#50385376)
This wasn't on my 2026 bingo card but I love it!
Re:Discord is ditching Electron and its new app uses less RAM by thoughtpeddler on Thursday November 05, 2026 @07:28PM (#50386576)
Was no one else using Discord as a progressive web app, striking the best balance between resource footprint, no additional local apps on their device, still preserving their native UI, etc?
Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @07:39PM (#50386669)
> Was no one else using Discord as a progressive web app

Going by me and my friends, no.

> striking the best balance between resource footprint

If this is the best balance possible, then that balance is horrible. Having to pull along a whole browser is a massive ball and chain on any program that I wish I could cut off anywhere I see it.

> no additional local apps on their device

This isn't an advantage for my use cases, nor any of my friends apparently.

> still preserving their native UI

As in preserving Discord's or your OS's UI?

I don't care about the former. I'd use DiscordMessenger[1] if it was mostly feature complete and Discord didn't ban third-party clients.

The latter isn't really preserved in any meaningful opinion by shoving it into a browser. The difference in UX post-install between a PWA and a seperate browser window (or a seperate app) is zero to me. It's still not native.

[1] https://github.com/DiscordMessenger/dm

Re:Discord is ditching Electron and its new app uses less RAM by bagacrap on Thursday November 05, 2026 @09:30PM (#50387407)
> Having to pull along a whole browser

Electron apps do this. PWAs do not because you are already running the browser.

> > no additional local apps on their device > This isn't an advantage for my use cases,

It objectively is, because (a) you don't have to run Electron next to a browser (b) your Electron app lags behind in security fixes compared to Chrome or whatever you use to browse, and (c) PWAs have a much stricter permission/capability model than native apps, so you can run PWAs from publishers you don't trust that much.

Re:Discord is ditching Electron and its new app uses less RAM by Telaneo on Thursday November 05, 2026 @10:17PM (#50387748)
> Electron apps do this. PWAs do not because you are already running the browser.

Sometimes, I might actually not be running the browser. And even if I am, a native app is still better.

> you don't have to run Electron next to a browser

I don't quite see the point you're making here?

> your Electron app lags behind in security fixes compared to Chrome or whatever you use to browse

Any app I download is sandboxed to the point I don't see this as a benefit of any magnitude.

Not to mention I might want the option of not updating (although I think this is an option with PWAs nowadays, although I've never actually tried).

> PWAs have a much stricter permission/capability model than native apps

Ditto.

> so you can run PWAs from publishers you don't trust that much.

I don't want to do that in the first place.

Native apps can do all those things better already. Can we please just have native apps instead?

Re:Discord is ditching Electron and its new app uses less RAM by Tmpod on Friday November 06, 2026 @08:52AM (#50392287)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by odo1242 on Friday November 06, 2026 @12:21PM (#50395326)
I’ve been using it in the normal web browser as a normal browser app.
Re:Discord is ditching Electron and its new app uses less RAM by j45 on Thursday November 05, 2026 @08:16PM (#50386948)
It's too bad electron didn't just rebuild itself to help so many applications all at once.
Re:Discord is ditching Electron and its new app uses less RAM by gucci-on-fleek on Thursday November 05, 2026 @09:44PM (#50387506)
I didn't see it mentioned in the article, but does this mean that you will no longer be able to use Discord exclusively via the browser, without installing a native app? Because that's my preferred way to use Discord, since the browser nicely sandboxes it, whereas a native application generally runs unrestricted.
Re:Discord is ditching Electron and its new app uses less RAM by gizmo385 on Thursday November 05, 2026 @09:49PM (#50387541)
It will still be usable in the browser. I don’t think it’s in the article, but there are posts about it from the CTO on Twitter
Re:Discord is ditching Electron and its new app uses less RAM by ssivark on Thursday November 05, 2026 @09:55PM (#50387587)
[delayed]
Re:Discord is ditching Electron and its new app uses less RAM by wolvesechoes on Friday November 06, 2026 @02:03AM (#50389092)
Not exactly about Discord, but I once looked into GPUI, saw the Cargo.toml file and decided to give up on Rust UIs forever.
Re:Discord is ditching Electron and its new app uses less RAM by tomkarho on Friday November 06, 2026 @02:32AM (#50389286)
Cool. Is it still spying on everyone and everything on the user's computer though?
Re:Discord is ditching Electron and its new app uses less RAM by arisudesu on Friday November 06, 2026 @06:54AM (#50391282)
I highly doubt they'd throw away decade of engineering of the JavaScript application, to rewrite it from scratch. Probably would change desktop wrapper from Electron to Tauri or something else
Re:Discord is ditching Electron and its new app uses less RAM by Klonoar on Friday November 06, 2026 @10:19AM (#50393396)
Except it’s confirmed to not be Tauri.
Re:Discord is ditching Electron and its new app uses less RAM by superxpro12 on Friday November 06, 2026 @11:05AM (#50394132)
Has anyone run the math on how many terawatts of power electron is responsible for wasting on needless abstractions?

electron is a blight on computing

Re:Discord is ditching Electron and its new app uses less RAM by tdehnke on Friday November 06, 2026 @12:38PM (#50395570)
We need all the apps, websites etc services to take time to optimize their stuff for RAM, CPU use etc.. it's nuts we have these insanely powerful devices and crappy software and sites can bring them to their knees.
Re:Discord is ditching Electron and its new app uses less RAM by meomatic on Saturday November 07, 2026 @11:09AM (#50405700)
I hope that next apps that use Electron will ditch it for native technologies, maybe for Rust or C++. Please, Spotify, do the same. Look at Telegram's working speed and performance.