3 ms·
I really don’t care at all about the resource usage or speed of Electron apps in 2022. Any semi-modern PC has no problem running Electron apps. Download sizes
by PragmaticPulp 5y ago
I really don’t care at all about the resource usage or speed of Electron apps in 2022.
Any semi-modern PC has no problem running Electron apps. Download sizes aren’t an issue with modern internet speeds. It doesn’t make sense to try to optimize for people with the slowest systems when everything is only getting faster.
- grishka 5y agoA fast CPU and plentiful RAM isn't a license to not optimize your code. A fast internet connection isn't a license to not optimize your binary size.
- sharikous 5y agoEven in the sort of modern systems available to wealthy developers try to run more than two Electron apps at a time and tell me if you don't feel the slugginess
- PragmaticPulp 5y ago> try to run more than two Electron apps at a time and tell me if you don't feel the slugginess I run more than two Electron apps at a time and everything is fine. Unless you’re running ancient hardware with 4GB of RAM and trying to load up many intensive applications (Electron or otherwise) it’s not a problem. If anything gets “sluggish” then you’re probably swapping, but it’s difficult to actually reach that point with just two Electron apps.
- anthk 5y ago
- tomjen3 5y agoI keep hearing that argument, but I also dropped Evernote for Apple notes because Evernote was too slow, even on my M1 mac. So there is definitely such a thing as optimizing your programs.
- grishka 5y agoThat argument is usually made by the kind of people who consider developer experience the most important part of software development. I'm on the opposite end of this spectrum: I couldn't care less about developer experience, user experience is the king. Your users won't see your "write less code" crap and all your other "elegant" overengineered solutions that use 5 libraries for something that should be a trivial 10-line function. They'll see that your app is an unreliable resource hog that looks and feels like it's not from this world. And it's never finished. It's constantly updating but always broken one way or another. And they'll suck it up because there are no alternatives and most software these days is like this. I'll do everything in my power to change this. It's my mission in this world. I want people to rediscover non-crappy software and have their minds blown by what modern computers can do when programmed by people who actually know what they're doing.
- tomjen3 5y agoBe careful about the baby/birtwater situation. I can deliver a website a lot faster if I get to write it in typescript than if I have to write it in C++, even if the latter might execute faster.
- grishka 5y agoThere's a big difference between build-time and runtime dependencies. It doesn't matter what you use in your build environment, so yes, I do use TypeScript in my own web projects. It does matter a lot what you leave in your final product, so I'm never using react or any other JS frameworks. I also use Java for my backend because not having to manage memory manually is worth of the small performance tradeoff.
- is_true 5y agoMore resource usage = more energy wasted
- dmitriid 5y agoAh yes. Semi-modern PC shouldn't have trouble... Download sizes shouldn't be a problem... Do you realize that you are essentially running a supercomputer? And that this supercomputer is struglling to display even the simplest things? Slack's CPU usage shoots up to 20% of cpu to display a single animated reaction to a post. Run a few of those "shouldn't have trouble" in parallel, and suddenly a computer that can run a 4k next-gen Unreal shooter at 60fps struggles to even maintain cursor latency.