Earlier quoted context omitted.
I think Electron devs really need to step and try to address the performance problems but even if they do, I don't think it'll help much since they have to allow full web platform to run. Electron has brought so many apps to Linux that devs otherwise wouldn't even consider so I'm happy about that. On the other hand these apps have major performance problems. Especially the ones that I've to leave running in the backg…
It seems unlikely - electron developers are going to understand how to use browsers, but fixing the browser itself is the way to make it use less RAM. Maybe if they switch to Servo it might use a little less RAM, but inherently it's always going to be pretty heavy.
Why I Still Use Vim
81–90 of 112 posts
Re: Why I Still Use Vim
#82I wonder why more devs who are transitioning from javascript don't simply build a shell native app with a webview in it? UWP or .NET with a webview uses a lot less RAM than electron to do the same thing. I haven't run tests on MacOS but I bet Cocoa and Swift could do the same thing
Re: Why I Still Use Vim
#83Re: Why I Still Use Vim
#84Earlier quoted context omitted.
I think Electron devs really need to step and try to address the performance problems but even if they do, I don't think it'll help much since they have to allow full web platform to run. Electron has brought so many apps to Linux that devs otherwise wouldn't even consider so I'm happy about that. On the other hand these apps have major performance problems. Especially the ones that I've to leave running in the backg…
It seems unlikely - electron developers are going to understand how to use browsers, but fixing the browser itself is the way to make it use less RAM. Maybe if they switch to Servo it might use a little less RAM, but inherently it's always going to be pretty heavy.
This to me is the crux of the issue. Github has a lot of great engineers but they're less likely to be versed in C/C++/whatever else is required to make this kind of thing truly succeed.
It really begs the question of what Microsoft were thinking the day they decided to build Code on it.
Re: Why I Still Use Vim
#85I wonder why more devs who are transitioning from javascript don't simply build a shell native app with a webview in it? UWP or .NET with a webview uses a lot less RAM than electron to do the same thing. I haven't run tests on MacOS but I bet Cocoa and Swift could do the same thing
I assume a lot of the developers rely on (or at least have an affinity for) the niceties of Chromium/Blink. So using whatever webview is provided natively by the OS wouldn't be a straight swap.
Re: Why I Still Use Vim
#86People can mount whatever defense they like of Electron, but the bottom line is, I think twice before I adopt any new Electron app. My daily drivers are a desktop replacement with 8gb of ram and an ultra-portable machine with 4gb. On 4gb it only takes a couple of Electron apps to eat half of my ram or more. Factor in the OS and a browser or two and it's already swapping. These are often just chat apps or something, t…
I wonder if we'll see a Mozilla engine based Electron (or simply not the latest Chromium engine, which gets bigger and slower with every passing day)
Re: Why I Still Use Vim
#87Re: Why I Still Use Vim
#88This article implies the differences matter. Nope, sorry, the conveniences of VSCode are worth the "cost" for me. I have 32 gigs of RAM and the time I spend opening files doesn't register compared to the time I spend writing or reading code. I do wonder whether the measurements take the base overhead of each editor into account. Do the numbers represent the use per file or the total for the file plus the entire app?
For me, VS Code doesn't hog memory anywhere near like Atom does in the linked article. Electron apps are often slow, memory hogs, but VS Code is neither of those things - it's an example of a great Electron app that absolutely flies, despite being stuffed with features.
Re: Why I Still Use Vim
#89Earlier quoted context omitted.
You can also use properly designed IDE's written in native code. I use Vim too by the way.
Xcode is about as native as you can get (developed by the same company as the OS!), yet it becomes more sluggish with each new version. I think the real problem is product managers focusing too heavily on "shiny new features" and less on efficiency/stability, which is mystifying since these are all dev tools, after all.
Re: Why I Still Use Vim
#90Earlier quoted context omitted.
I assume a lot of the developers rely on (or at least have an affinity for) the niceties of Chromium/Blink. So using whatever webview is provided natively by the OS wouldn't be a straight swap.
maybe not, but electron requires some refactoring and learning a few new things by itself, it's also not a straight swap from a web app.