Earlier quoted context omitted.
> These huge CPU sinks making it through to release required nobody to even glance at a CPU graph. Every bug looks egregious in hindsight; just because an app has one is no reason to assume the engineers who made it don't bother to test anything. Also: that particular issue only hurt idle CPU usage, and the usage was something like 13% CPU usage IIRC. It wasn't exactly the kind of thing that sets off klaxons.
> Every bug looks egregious in hindsight Most bugs are of the form "do X then Y then it doesn't work". These idle CPU bugs are reproduced simply by opening the application. I accept that 13% idle usage is invisible for most developers - but that's a bit disappointing. I notice stuff like this just by idly glancing at my CPU meter from time to time. An app that's sitting on high idle usage sets off klaxons for me.
Electron is flash for the desktop (2016)
861–870 of 1001 posts
Re: Electron is flash for the desktop (2016)
#862Earlier quoted context omitted.
But - can I get a copy of Notepad++ on my Linux box? No? Now - I know there are a ton of other options for Linux, but the thing is, I can't jump from system to system and have the same app with the same experience - even if the app was developed as a native app for all of the platforms, because each has a slightly different native GUI implementation and usage which doesn't translate fully between each. So now I have…
> But - can I get a copy of Notepad++ on my Linux box? Yes.
Re: Electron is flash for the desktop (2016)
#863Earlier quoted context omitted.
Different people have vastly different use cases. I haven't experienced a performance issue with desktop Slack or any other (non-game) application for many years. Sure, if I look at how much RAM Slack is using I'd probably conclude that it's more than it needs to be, but I haven't had an issue with RAM usage for, gee, probably ten years. As for battery, again, my laptop battery has been little more than a UPS for at…
It's mostly CPU performances I experience. Rendering any video, gif, website takes sizeable CPU power (for a cheap CPU in power saving mode). Never had issue with RAM. I can remember a few friends who bought netbooks with 2GB memory some years ago, they quickly realized that they simply cannot run their development environment in that. (I'm talking swap death where a click that should take 1 second to act takes 1 ent…
Just bad tools leading to waste users notice. Best to avoid them if possible. Not always possible...
Re: Electron is flash for the desktop (2016)
#864If you want a compromise between easy multiplatform desktop app development and not wasting resources, the ideal way there may be something like Microsoft's React-based desktop framework that they just released. (in my opinion at least)
Re: Electron is flash for the desktop (2016)
#865Earlier quoted context omitted.
> Computing for ever. We use C to avoid writing assembly. Use Java to avoid writing C. Use Python to avoid writing Java. Yeah, but until Electron and they like, we seldom shipped desktop apps in anything than C, C++, Delphi etc even after all those decades. Which are all as close to the metal as can be. And in fact C/C++ can be as fast, or even faster than hand-rolled assembly most of the time (with few exception), s…
There's probably, line for line, more VB6 desktop apps in existence than any other language. And that's not just because of how verbose VB is...
Became one of my favorite toys. I'd still use it for GUI prototyping if it was FOSS and kept getting extended. I found even lay people could learn it well enough to get stuff done. Long after, I learned what horrible things lay people did with it. Yet, they got work done and got paid without the IT budget and staff they would've preferred. (shrugs)
Re: Electron is flash for the desktop (2016)
#866This would be a good idea even if Electron didn't have these problems.
Re: Electron is flash for the desktop (2016)
#867This would be a good idea even if Electron didn't have these problems.
Re: Electron is flash for the desktop (2016)
#868A lot of Slack's high (background) CPU usage is caused by GIFs, in my experience. Just did a quick check on my quadcore MBP, having Slack fullscreen out-of-view with nothing animated in view gives it a CPU usage of 0,1% with spikes up to 2,5%. Switch to a conversation with a single animated party parrot emoji, go to another fullscreen app once again, and CPU usage never drops below a whopping 22%. For an animated par…
I want to say that VS Code had the same issue because of the blinking cursor, which was controlled by a CSS property to toggle.
Re: Electron is flash for the desktop (2016)
#869Here's the thing. You know what the alternative to all of these Electron apps coming out is? If your answer is "A native Cocoa/WPF app", you are on another planet, the answer is, "It wouldn't exist at all". Nobody in the last 5-10 years cared about writing Desktop apps before Electron came along, there's basically zero money in it, and it's massively expensive, both in terms of actual dev time per feature (easily 10x…
Do you think people 'knew' what was going to kill Flash before it died?
Re: Electron is flash for the desktop (2016)
#870Here's the thing. You know what the alternative to all of these Electron apps coming out is? If your answer is "A native Cocoa/WPF app", you are on another planet, the answer is, "It wouldn't exist at all". Nobody in the last 5-10 years cared about writing Desktop apps before Electron came along, there's basically zero money in it, and it's massively expensive, both in terms of actual dev time per feature (easily 10x…
Wow, that's bullsh*t. Sorry but what you said was factually incorrect. What Electron did is it enabled all those web devs (even front end guys) to write "desktop" apps. And trade offs are certainly visible. I am boycotting Electron. I have zero Electron apps installed, and recommend strongly against it. I hate that web dev mindset that has been pushed into desktop userland. It just doesn't work that way. Write native…
Unless they significantly rethink their approach it's significantly flawed without much room for improvement. Plenty of room for something better to come along. Even if it saw mass adoption, the demand for a better base would invite an alternative to gain traction against a sluggish goliath a la Firefox-vs-IE (or Chrome vs Firefox).
Why stick with a doomed formula?