this post was submitted on 05 Nov 2026
347 points (98.6% liked)

Technology

7518 readers
148 users here now

News community around technology, social media platforms, information technology and governmental policy surrounding it.

What doesn't fit here?

The core of the story has to be technology focused.


Post guidelines

Title formatPost title should mirror the news source title. If you don't like the title of article, look for an alternative source instead of editorializing it.
URL formatPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
[Opinion] prefixOpinion (op-ed) articles must use [Opinion] prefix before the title. Opinion articles refer to articles that their publisher doesn't explictly endorse.
Country prefixCountry prefix can be added to the title with a separator (|, :, etc.) if the news is from a local publisher who doesn't clearly mention the country.


Rules

1. English onlyTitle and associated content has to be in English.
2. Use original linkPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
3. Respectful communicationAll communication has to be respectful of differing opinions, viewpoints, and experiences.
4. InclusivityEveryone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
5. Ad hominem attacksAny kind of personal attacks are expressly forbidden. If you can't argue your position without attacking a person's character, you already lost the argument.
6. Off-topic tangentsStay on topic. Keep it relevant.
7. Instance rules may applyIf something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution


If someone is interested in moderating this community, message @brikox@lemmy.zip.

founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Lemmynated@lemmy.zip 1 points 7 hours ago

Will the rust ai slop be better than the electron humanslop?

[–] joeschmoe@lemmy.world 82 points 3 days ago (2 children)

"Hey Claude, rewrite our dogshit Electron app in Rust, make no mistakes".

Hey Claude, add Discord branding to this template so that I may show off Windows task manager.

[–] Kacarott@aussie.zone 6 points 2 days ago

"But don't forget to keep all the existing mistakes, those are intentional"

[–] vk6flab@lemmy.radio 172 points 3 days ago (2 children)

I think that the headline says more about Electron than it does about Rust.

[–] Scrollone@lemmy.zip 76 points 3 days ago (4 children)

Yeah exactly. "Just" 240 MB, it's still a lot for a glorified chat app

[–] Lojcs@piefed.social 28 points 3 days ago

240 is quite little considering how much media there's in it

[–] AllNewTypeFace@leminal.space 23 points 3 days ago (8 children)

Perhaps it’s vibecoded slop?

[–] VibeSurgeon@piefed.social 5 points 2 days ago

I'd be willing to bet $100 that AI assistance was involved in creating this new client, yes.

Similarly I'd bet the same amount that AI assistance was involved in building the former electron-based client

load more comments (7 replies)
[–] zergtoshi@lemmy.world 11 points 3 days ago (1 children)

Windows 98 required far less disk space and was a complete operating system - that is if you consider Win98 an operating system...

load more comments (1 replies)
load more comments (1 replies)
[–] fartsparkles@lemmy.world 39 points 3 days ago* (last edited 3 days ago) (1 children)

Even the guys who invented Electron (developers of the Atom text editor) stopped using it years ago and switched to Rust when writing their new editor, Zed, and its UI framework GPUI (which Discord will be using too).

[–] henfredemars@infosec.pub 8 points 2 days ago (1 children)

Maybe we don’t want to use JavaScript for literally everything.

It’s great to see it. I wonder how much of this push comes from the high price of memory.

[–] VibeSurgeon@piefed.social 4 points 2 days ago

The price of memory-thing is probably not that important as compared to the AI-assisted coding thing. Making things in Rust when you have access to AI tools is dead simple, which was always the argument for making things in Electron. Porting things from one language to another also happens to be one of the sweet spots for AI coding tools, they thrive on tasks that have very clear specs - an already existing codebase with tests is just about as clear of a spec as you can get.

[–] AgentSeven@lemmy.zip 65 points 3 days ago (1 children)

Discord is as much spyware as anything else. Its efficiency in using my computer's resouces in order to log everything about me, build a dossier on me and sell me out at every opportunity is not a consideration, as I view it as something to be avoided like Meta, et al.

That said, Electron does suck.

load more comments (1 replies)
[–] Evotech@lemmy.world 32 points 3 days ago (4 children)
[–] faercol@lemmy.blahaj.zone 3 points 1 day ago

Hmmmm, the first blog posts about rewriting the backend part from Go to Rust are a few years old by now (early 2020) so it's clearly not a "let's vibecode everything in two weeks" kind of project.

However... The later stages are probably vibecoded... Yeah, that would check out today.

[–] nightlily@leminal.space 32 points 3 days ago (5 children)

I get why vibe coders love Rust - it’s a lot harder to shoot yourself in the foot if rustc is checking your lifetimes, but holy shit is the code I’ve seen from them the most unholy mess. Rust is difficult enough to read at the best of times but LLMs don’t even bother with any kind of module structure. Just thousands of lines of vomit in single files and a worrying amount of unsafe.

[–] gravitas_deficiency@sh.itjust.works 3 points 2 days ago* (last edited 1 day ago) (3 children)

Preamble: I am a huge LLM/codegen skeptic, for a litany of reasons.

With that said, this honestly sounds like whoever did the prompting didn’t include something like this in the prompt, along with nuanced adversarial review loops:

unsafe blocks are strongly discouraged, and must be specifically justified, and survive antagonistic review by a rust language specialist agent and software security specialist agent. Part of the intent of this reimplementation is to leverage the strengths of the rust language itself, and rampant unsafe usage directly contradicts that.

[–] RichardDegenne@lemmy.zip 4 points 1 day ago (1 children)

"It can't be that stupid, you must be prompting it wrong."

The ol' reliable.

load more comments (1 replies)
[–] nightlily@leminal.space 2 points 2 days ago

SMH they forgot to type „make no mistakes“.

[–] megopie@lemmy.blahaj.zone 1 points 1 day ago (1 children)

Sure, but adding adversarial loops, or, some complex addition to every prompt would increase the token usage massively, thus the cost.

So, why bother with that?

I could very well be wrong, but all indications I’ve seen have been that that the cost of the tokens needed to get something even vaguely acceptable is greater than the cost of just hiring someone, or a group, to do the job. Unless something needs to be done fast due to an immediate concern, and the cost is no object.

[–] bumblebeer@lemmy.world 1 points 1 day ago (1 children)

Perhaps they run a local model, then tokens are essentially free.

[–] megopie@lemmy.blahaj.zone 1 points 1 day ago (1 children)

Would need a very beefy cluster, and that definitely isn’t free.

[–] bumblebeer@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Well yes, I'm not saying it's a free lunch. The point is a large up-front investment buys you unlimited tokens in perpetuity for no more than the cost of electricity to power the cluster — which can be surprisingly cheap for UMA machines.

I've swapped off API models entirely and have been able to do a lot more useful work since I don't have to worry about token cost or usage limits. Granted it's slower per task (less tk/s), but overall much more productive, and private.

[–] Fiery@lemmy.dbzer0.com 3 points 2 days ago

Just tell the clanker to use modern practices poof fixed.

Jokes aside a lot of that bad code can be detected by static linting tools and gated on, making it impossible for any of those to reach main.

load more comments (3 replies)
[–] TBi@lemmy.world 11 points 3 days ago

And this will probably give rust a bad name if most of the code is horrid vibe coded stuff. (Cuck coded?)

[–] entwine@programming.dev 9 points 3 days ago

99% of new Rust projects today are vibe coded, so probably yeah

[–] CompactFlax@discuss.tchncs.de 26 points 3 days ago

Good to see. Electron is trash for a few reasons.

[–] Pika@sh.itjust.works 37 points 3 days ago (1 children)

man I love that they are ditching electron but, they "just" fixed the discord linux client to properly update and now they are rehauling it? can't wait to get this update 3 years from now.

load more comments (1 replies)
[–] Chiahna@piefed.blahaj.zone 32 points 3 days ago (3 children)

It's great, but I wonder what happens with the linux client? There is no mention of it in the article.
Do we get optimized native client or is that too much work if they don't have universal framework anymore?

[–] VibeSurgeon@piefed.social 6 points 2 days ago

"Native" sort of loses its meaning in this context - this new client is not "native" in the sense of using the existing GUI tooling for each platform (Cocoa for macOS, any of Microsoft's own frameworks on Windows, primarily Gnome/KDE on Linux).

It is using a universal framework in GPUI, so the experience will be the same on each platform.

It is "native" in the sense that it's not web technology on any of the platforms.

[–] xistera@lemmy.dbzer0.com 30 points 3 days ago

Marketing director of Discord on Reddit says linux will have a native client.

[–] sorter_plainview@lemmy.today 29 points 3 days ago* (last edited 3 days ago) (1 children)

They are using GPUI. Rust native UI framework from the Zed IDE team. I think the creator of Zed is the one who created Electron in the first place, then left. I'm not sure though.

So it should be cross platform

[–] RustySharp@programming.dev 14 points 3 days ago (6 children)

It's a bold strategy. "Electron sucks! Let's see what else these people made".

But seriously, why do I need GPU acceleration for my chat UI?

[–] phailhaus@piefed.social 28 points 3 days ago (4 children)

It's a video player. You want GPU acceleration.

load more comments (4 replies)
[–] The_Decryptor@aussie.zone 18 points 3 days ago

But seriously, why do I need GPU acceleration for my chat UI?

Because rendering things is quite literally the reason GPUs exist, it takes load off the CPU and is more efficient at it to boot.

[–] VibeSurgeon@piefed.social 3 points 2 days ago

It doesn't hurt to have the component that is optimized for drawing things to the screen be a bit more involved in drawing things to the screen.

Strictly speaking necessary? No. Does it hurt? Not at all.

load more comments (3 replies)
[–] gera@feddit.nu 11 points 3 days ago

With screensharing on wayland? With screensharing on wayland, right?

load more comments
view more: next ›