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).
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.
Comments
I think that the headline says more about Electron than it does about Rust.
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).
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.
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.
Yeah exactly. “Just” 240 MB, it’s still a lot for a glorified chat app
have you seen how much memory a single webpage in chrome uses?
240 is quite little considering how much media there’s in it
Windows 98 required far less disk space and was a complete operating system - that is if you consider Win98 an operating system…
SP2 was aight
Perhaps it’s vibecoded slop?
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
Anything new coming from any non-bootstrapped company is likely slop, and even the bootstrapped deserve a second look
Sign in to comment. Sign in