34
submitted 1 week ago* (last edited 6 days ago) by Blaze@piefed.zip to c/programming@programming.dev

Edit: old post is someone is curious: https://dev.to/jamilxt/electron-vs-gpui-what-discords-290-mb-rust-rewrite-can-and-cannot-prove-34b6

Replaced with the one from The Verge

top 48 comments
sorted by: hot top new old
[-] shy_mia@lemmy.blahaj.zone 37 points 6 days ago

On the one hand, I would love if more applications moved to native rendering instead of Electron... On the other hand, this is no doubt all vibe coded which I hate. On the third hand I somehow have, what's gonna happen to alternative clients like Vesktop? I hope they'll keep working because everything Discord offers by default is so bad.

[-] alphabethunter@lemmy.world 3 points 4 days ago* (last edited 4 days ago)

this is no doubt all vibe coded

It might not be entirely so. I've watched their youtube announcement (less than 2 minutes video), and they talk about starting this project back in 2019, so there's no way it was all vibe coded. I don't doubt that the recent stretch was probably heavily using claude, but I wouldn't call it cuckcoded if they truly started back in 2019 before LLMs were anywhere useful.

Edit: link to the video

[-] shy_mia@lemmy.blahaj.zone 3 points 4 days ago* (last edited 4 days ago)

Yes Discord's been using Rust for a long time, I meant the client itself. The infrastructure has been been in Rust for a while. gpui wasn't a thing in 2019 so they couldn't have started back then.

[-] BetterDev@programming.dev 7 points 6 days ago

I anticipate that this is an effort to clamp users into their ecosystem

[-] entwine@programming.dev 10 points 6 days ago

Every Discord user is already in their "ecosystem". Even if you use a third party client, every single message you send is available to them to scan/sell to advertisers or cops with zero barriers whatsoever.

The only benefit of a third party client (besides UX enhancements and customization) is that Discord can't execute malware/spyware natively on your PC. This is something they will inevitably do in the future in an effort to chase endless growth, but afaik it's not happening today. They make enough money from the data they harvest from your chats, at least for now.

[-] BetterDev@programming.dev 3 points 6 days ago

Which is what I meant.

[-] shy_mia@lemmy.blahaj.zone 3 points 6 days ago

There are lots of Vencord plugins that allow you to get Nitro functionality (or close enough anyway) for free. I don't expect them to be particularly fond of that.

[-] Seralth@piefed.seralth.com 0 points 6 days ago

They are almost for sure all going to die.

[-] shy_mia@lemmy.blahaj.zone 7 points 6 days ago

Not if Discord intends its web client to still work.

[-] tabular@lemmy.world 7 points 6 days ago

Free the code or perish🖕

[-] beejjorgensen@lemmy.sdf.org 5 points 6 days ago

One of the main benefits to using Discord in a browser is that you can nuke all those dumb popups with uBO. And I have my browser open anyway. Not sure why I'd want the Rust native app. Definitely not sure why I'd want the electron app.

[-] glimse@lemmy.world 2 points 5 days ago

I haaaaate using the browser for stuff like that. I want to run it independently and just use my browser for .... Web browsing

[-] victorz@lemmy.world 4 points 6 days ago

How much memory does Discord normally use?

[-] Blaze@piefed.zip 6 points 6 days ago
[-] victorz@lemmy.world 10 points 6 days ago

😆 That's insane. 1/16th of my RAM for a voice comm program. What a bunch of bloat.

Makes me curious what Fluxer is using now that I switched to that.

[-] Seralth@piefed.seralth.com 2 points 6 days ago

It uses flutter, still bloated but it's frequently uses a quarter of what discord does for the same work load. Typically between 500 megs to 1 gig. When discord would use 2-4 gigs.

If you want a full all in one client like this your going to have to use a decent chunk of ram no matter what. But discord lost its marbles ages ago.

[-] glimse@lemmy.world 1 points 5 days ago

Are you including video streaming in that number? We just use it for voice and text and I've never seen it go above 2gb.

I suppose that was a couple years ago, though, so things may have changed

[-] Seralth@piefed.seralth.com 0 points 5 days ago

This is based on what my ram usage tracker has listed from when I used discord about 8 months ago. I'm weird and keep track of ram, CPU, GPU and io usage for every process 24/7.

I haven't used it since switching to fluxer.

It's usage is honestly kinda all over the place. While fluxers is really consistent. Couldn't tell you why.

But I can say that watching video streams would be included in that ram figure.

[-] glimse@lemmy.world 1 points 5 days ago

Right right but I'm asking what you were doing in discord when you got that 4gb number. Was discord idle? Were you in voice chat with 5 people? Sharing video?

[-] Seralth@piefed.seralth.com 1 points 4 days ago

Fuck if I know I just record ram usage and time stamp. WHAT I was doing is a good of guess as yours. I was probably watching a steam. But I can't remember what I was doing last week let alone months ago.

[-] victorz@lemmy.world 2 points 6 days ago

Yeah I definitely only want the voice features, so if Fluxer ever starts bloating I might move back to Mumble like I was using 20 years ago lol.

[-] who@feddit.org -5 points 6 days ago* (last edited 5 days ago)

Positive: Rust means no more Electron.
Negative: Rust typically means massive attack surface through hundreds or thousands of third-party dependencies.
Negative: Discord likes to demand personal information.
Negative: Discord remains the gatekeeper of your creative work.
Negative: Discord can harvest everything in your direct messages and private channels.
Negative: Discord has been known to lock people out of their communities if they don't give up their personal information, or even at random.

[-] FishFace@piefed.social 17 points 6 days ago

Most of that has nothing to do with a rewrite, and I don't think the attack surface of an Electron app is actually any better because it'll depend on bloody left-pad or whatever.

[-] calcopiritus@lemmy.world 3 points 5 days ago

Yeah. Npm definitively is safer than cargo /s.

Any non-retarded company would just verify that their dependencies are secure. And then self-host their own cargo repo to avoid supply chain attacks.

This is a company issue, not a language issue. And if it were a language issue, JavaScript would be worse anyway.

[-] CameronDev@programming.dev 50 points 1 week ago

LLM writing, just infuriating to read.

[-] beejjorgensen@lemmy.sdf.org 24 points 6 days ago

Another example of how a human could have delivered the same information in 25% the time.

[-] victorz@lemmy.world 14 points 6 days ago

The LLMs have been trained on articles written by humans, who, in turn, have been trained to draw out their conclusion into several pages in order to fit advertisements between the paragraphs and pages. It was infuriating before LLMs, and it's equally infuriating now.

[-] beejjorgensen@lemmy.sdf.org 9 points 6 days ago

One reason I like Kagi is that it downranks ad-heavy pages. And of course I like uBO. But there are still so many web users without ad blockers that I makes sense for sites to spew slop, just like you're saying. Blows my mind that anyone would use the web without a blocker.

[-] victorz@lemmy.world 6 points 6 days ago

Before LLMs were a thing, I would just out of sheer muscle memory skip the first few paragraphs of an article to get to the point of what the headline was about, because every fucking article starts with the big bang and works its way to the content of the headline.

[-] Blaze@piefed.zip 7 points 6 days ago* (last edited 6 days ago)

Sorry, I missed it.

I spend 10 minutes trying to find an article about that news, the only other option being the post by the Discord CTO on Twitter of all places.

I'll see if there's a genuine blog post about it now.

Edit: updated to Discord is ditching Electron and its new app uses less RAM

[-] brackled@lemmy.world 8 points 1 week ago

I'm getting worse at spotting these. What gave it away?

[-] MagicShel@lemmy.zip 23 points 1 week ago

LLMs use the wrong language cues. They spend a lot of words emphasizing an utterly mundane point, and it's difficult to read because it's constantly winding you up to reveal some arcane knowledge just to drop knowledge bombs like, make sure you use good names for variables and always handle your exceptions. I've seen them spend two paragraphs when a short sentence would do.

[-] bruh@thelemmy.club 1 points 5 days ago

I think they are improving on this too, some latest models give pretty terse answer for example

[-] CameronDev@programming.dev 19 points 1 week ago* (last edited 1 week ago)

Just generally it waffled on, and didnt get to a point.

That makes this a useful comparison, not a verdict

Thats the "its not X, its Y" pattern.

Not so fast.

[-] xxce2AAb@feddit.dk 10 points 1 week ago

That makes this a useful comparison, not a verdict.

Plus all the other constant flip/flop contrasting throughout the text. It's like a comparative decision matrix converted to prose, and exhausting to read.

[-] LadyMeow@lemmy.blahaj.zone 6 points 6 days ago

Not to mention the ai writing assistant pop up or whatever’s this is upon viewing the page:

[-] xxce2AAb@feddit.dk 6 points 6 days ago

Fortunately I disallow javascript execution by default, so I often don't see this crap. Of course, about half the time I don't see images or the article content either, since delivering text or images is apparently completely impossible without running arbitrary code.

I seem to vaguely recall we used to have some sort of hyper-text markup language that could do all that, but I guess I must've imagined it.

this post was submitted on 08 Nov 2026
34 points (75.0% liked)

Programming

29278 readers
213 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS