6 ms·
> This is not an overburdened Electron app And instead this is a Mac-only app. I'd take the “bloated”-but-portable version any day. Many people actually like
by littlestymaar 7y ago
> This is not an overburdened Electron app
And instead this is a Mac-only app. I'd take the “bloated”-but-portable version any day.
Many people actually like electron because portability matters more to them than the purity of a “truly native” app.
- pier25 7y agoYou can have portability without the bloat introduced by having Node and Chrome bundled in each app. We've gone from using Electron to using the web view provided by the platform (macOS/Windows) and we've reduced the app size by 90%. The macOS app consumes about 20MB of memory... We do have some native code in each platform which represents about 10-15% of the app but we could have reduced that a lot if we had used cross platform code (C++, Go, Nim, Rust, etc) compiled as libs for each platform.
- thijsvandien 7y agoIt’s times like these when I feel old, because I notice how we went full circle. At the beginning of the decade, there was a move towards web views in native applications. Installing an update for Internet Explorer would result in script errors or other breakage all over the interface of Norton Internet Security.
- pier25 7y agoI started doing web dev in the late 90s... I remember those times. Thankfully we live in a better world now. :) The only problem we've found so far is Edge not doing CSS animations properly on SVG elements. Otherwise everything has been going smooth.
- rudi-c 7y agoI upvoted you because it's easy to forget that, outside the US and a few western countries, most people use Windows (even design professionals). In some of those countries, the price point of Macs make them a non-option. As a result, it's been harder for them to have access to design tools which have often been Mac-only. Furthermore, with modern Javascript JITs, performance issues are generally not easily summarized as "it's Electron". VSCode is the typical example of an Electron app with good performance. Performance issues often have to do with specific operations needing to be optimized rather than some general multiplier. At times, it's been faster than Sublime for me, because Sublime happened to do something inefficient (e.g. trying to syntax-highlight a very large log file, whereas VSCode preferred to bail). I'm sure with infinite resources, native apps can be faster than Electron ones, but almost never do application developers have the resources to invest to get that far. Disclaimer: I work on design tools
- enobrev 7y agoAs a linux user, I also appreciate Electron apps over nothing at all. Of course I understand the overall disdain for them, but in my world it's a new app I would have not had the opportunity to use otherwise.
- seanmcdirmid 7y agoThat definitely isn’t true in China, or even in Japan. Mac has a pretty good market penetration rate for the design field in Asia at least.
- erklik 7y agoAsia isn't just China or Japan. India, and other peripheral countries don't have high Mac penetration.
- seanmcdirmid 7y agoBut in the design industry? I don’t know many Indian designers, but the few I’ve met in Bangalore have all had Macs.
- erklik 7y agoEven the design teams use Windows. I am sure bigger companies provide macs but the vast majority will use Windows simply because its cheap and easy to get.
- pault 7y agoYou might be surprised to learn that some people inside of the US use Windows too (even design professionals)!
- debaserab2 7y ago> Many people actually like electron because portability matters more to them than the purity of a “truly native” app. I think the more accurate way to state this would be "many people like portability more than they hate electron".
- Zelphyr 7y agoOf all the complaints I've ever heard of around Electron, "purity" has never been one of them. Bloat and resource consumption are usually the biggest culprits.
- littlestymaar 7y ago“Bloat” is mainly a purity issue actually, it has no clear definition and is instead a matter of subjectivity about a software being «too much» for its purpose. Remember that emacs was said to be bloated, while nowadays it's way lighter than even the most lightweight native app you use. And electron doesn't have that much performance issues in most apps (atom is a big counterexample of course, but the VSCode team showed that the issue doesn't come from electron itself but from architecture issues). Granted, electron apps consume a big chunk of RAM, probably much more than if you did otherwise, but modern OSes are pretty good at dealing with background apps' memory and it's usually not a problem in practice for the end user. I kind of agree with the feeling that there should be a better way, but short of alternative I'd take the portable app any day over the native app on a single platform (whichever platform).
- yellowapple 7y ago> “Bloat” is mainly a purity issue actually No, it's not. Crowding out other programs is not a "purity" issue. Burning through my battery is not a "purity" issue.