Remix.run Logo
▲ LaurensBER 2 days ago

Electron is pretty awesome in that it allows a small team to build a decent GUI app using their existing web skillset but it also feels like it's time for something better at this point.

With the ram prices as crazy as they are. It's pretty frustrating to have to run multiple GB eating applications just to do some basic tasks (90% is read and write messages, in the case of Discord). I understand that other people might use the more advanced features (voice chat, etc) but these could be loaded on-demand.

It's a bit crazy to me that I can comfortable run an entire Linux stack (+ Podman, monitoring, alerting and multiple services) in 512 MB ram (with 40% free, just checked!). However my Windows PC needs 5.5GB just to show the desktop! Realistically it needs somewhere between 8GB and 16GB for some basic web browsing and even then it can feel slow if you have a few apps like Discord running in the background.

▲pasc1878 2 days ago | parent [-]

Sorry can you show a decent GUI app in Electron compared with a native one.

You show this by all your other comments on memory. The reason apps take memory is Electron.

Plus I prefer apps that behave like OS native apps not the reduced GUI of web apps.

▲Peanuts99 2 days ago | parent | next [-]

VS Code is a perfectly fine and pretty performant app.

▲denimnerd42 2 days ago | parent | next [-]

Erich Gamma started VS Code (through Monaco). That's saying a lot about Erich Gamma and not a lot about Electron.

It's also had a ton of work done to make it performant. (Microsoft level resources)

▲hobo123 a day ago | parent [-]

Isn't Gamma one of the GoF guys who pushed bloated Design Patterns, UML & co? I would never expect him to write performant code.

Also, first time I'm hearing about Monaco. I thought VSCode was an Atom fork.

▲selcuka 8 hours ago | parent [-]

> Also, first time I'm hearing about Monaco. I thought VSCode was an Atom fork.

The text editor was based on Monaco, a Microsoft product. VS Code only borrowed Atom's multi-platform bundling technology (it was called Atom Shell back then, then renamed to Electron).

▲afdbcreid 2 days ago | parent | prev | next [-]

It has seen (major) optimization work, and it's still quite memory-heavy, although that's probably fine for a rich IDE. But it's not fine for many other apps.

▲viraptor 2 days ago | parent [-]

VSCode is absolutely not a rich IDE. It's a fancy text editor will extra plugins. Visual studio or IDEA are rich IDEs.

▲afdbcreid a day ago | parent [-]

With extensions it can be. And if it would be built on a custom GUI framework, it could not.

▲viraptor a day ago | parent [-]

Rich IDE is not something you achieve by slapping a few extensions on an editor. It's in the name - Integrated. It means that there's a GUI designer which is aware of local classes, inspector at runtime which can jump into the right areas of code, performance analysis that gets populated during runs, highlighting and compilation that's aware of the currently selected configuration, etc. There's an extension a few of those, but they're mostly independent and isolated.

▲skydhash a day ago | parent [-]

Codeblocks is an IDE. VSCode is pretty much on par in terms of features.

▲hobo123 a day ago | parent | next [-]

At least comparing to Eclipse in terms of Java support, VSCode is still way behind. I've been using it almost exclusively for maybe a year, since I was mostly working on JS and Groovy code, but now went back doing Java dev on Eclipse, and it is a significant difference.

▲viraptor a day ago | parent | prev [-]

It's a spectrum. I'd give codeblocks 25% of an IDE ;) But it will depend heavily on what you expect.

▲pjmlp a day ago | parent | prev | next [-]

Wrong, it only performs half way decently thanks to the amount of C++ and Rust extensions it makes use of.

▲annex-winged-cr a day ago | parent [-]

I keep hearing this, but I never see any evidence for it.

There's only 0.7% Rust code and not even any C++. And almost all of that Rust code is for the CLI, not the editor.

The rest is just plain TypeScript and other web technologies.

▲pjmlp a day ago | parent [-]

Missing the extensions that are required to make a bare bones VSCode actually usable.

Also the performance improvements on the bultin terminal thanks to using WebGL as if it was a native app.

▲bigstrat2003 2 days ago | parent | prev | next [-]

No it isn't. It takes over 1 GB of memory just to open up a handful of source code files that each are under 1 MB in size (and which, for reference, Sublime can open with 300 MB used). It's an absolute pig.

▲troupo a day ago | parent | prev | next [-]

You mean the app built by a trillion dollar company with a dedicated team spending untold millions of hours making it work?

▲anthk 2 days ago | parent | prev | next [-]

Just compare Sidex (VS Code clone in Rust) vs vanilla VS Code.

https://github.com/Sidenai/sidex

▲AlbinoDrought 15 hours ago | parent [-]

but it's built with Tauri, which is simply Electron but using the OS's webview instead of an included browser. It's still not a native GUI.

▲codazoda 2 days ago | parent | prev | next [-]

Probably at the edge of being a good example. I recently switched to zed because of how bloated VS Code is becoming. I think it gained it’s momentum by being small, but enshitification seems to come for all software.

▲thunky 2 days ago | parent | next [-]

Based on the hype I tried zed thinking it would feel amazing compared to vscode, and it just didn't.

▲letrix a day ago | parent | prev | next [-]

What do you consider bloated on a VSCode install without any extensions?

▲brettermeier 2 days ago | parent | prev [-]

I don't know your Standards, but VS Code feels very smooth.

▲brettermeier a day ago | parent [-]

Downvoted without reply, I like that. Give me your arguments or stfu

▲Jtarii 2 days ago | parent | prev [-]

lmfao no.

▲kelseyfrog 2 days ago | parent | prev | next [-]

I volunteer as the arbiter of decency!

▲szundi 2 days ago | parent | prev [-]

[dead]