Live data from Hacker News

Will Electron take over native macOS development?

news.ycombinator.com

11–14 of 14 posts

Re: Will Electron take over native macOS development?

#11
post #4

Earlier quoted context omitted.

Because of how the compositing works, it’s not uncommon to have 100 or more megabytes of RAM taken by the UI alone. Not a bad thing though, it allows for simpler and more performant animations. Other than that, I’m not familiar with any particular features of the OS that unnecessary spend resources. Do you have examples?

Finder (made 10000x worse by their "inadvertent" disabling of DaisyDisk because of "security") Mail (completely garbage, can't update 300 emails within 5 hours), yet takes up 400mb in the Activity Monitor Not identifying what exactly is the 1.18gb "java" process thats running right now (maybe elasticsearch? why not surface this info in activity monitor?) I mean I have a million examples, I try to do lots of novel res…

Isn’t this elasticsearch’s fault?

Re: Will Electron take over native macOS development?

#12

It seems to me like there's a high chance Catalyst will take over macOS development for a lare part. If Electron works with that, maybe. If it doesn't I think that will significantly hurt its popularity with Apple ecosystem developers.

I don't think that's the plan. SwiftUI is where Apple development is heading.

Re: Will Electron take over native macOS development?

#13

macOS has terrible resource management (probably a fault of the developers of various major apps). EDIT: Lmao, look at kernel_task, a mysterious phantasm that seems to be using 2gb at any moment. Look at other abstract, undocumented Apple processes that just exist, and you have no control over them. It's literally insane. Electron has even worse resource management, since its built on top of Chromium, which doesn't e…

Personally, I’ve never experienced the resource management issues you describe here, even when running similar workloads. I have a 2015 MBP with 16 GB.

Re: Will Electron take over native macOS development?

#14

Electron is hated on Hacker News. I personally critique it quite a bit. But here are a list of things that Electron does better than any other desktop GUI framework. 1. Skills portability. Just use HTML and CSS to build your layouts. Hundreds nee thousands of web developers become instantly desktop developers, at least when it comes to UI development 2. Non natively cross platform. Your app looks exactly as you desig…

And what are the downsides to Electron apps? All I hear is file size is bloated and slow but slowness is likely to be the fault of the developers who use frameworks blindly without knowing what they're doing and can be improved.

You can see some web sites can be snappy...

Post reply on HN