TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Will Electron take over native macOS development?

12 pointsby danielinoaalmost 5 years ago

5 comments

factorialboyalmost 5 years ago
Electron is hated on Hacker News. I personally critique it quite a bit.<p>But here are a list of things that Electron does better than any other desktop GUI framework.<p>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<p>2. Non natively cross platform. Your app looks exactly as you designed it across all major platforms. Down to the last branding design element. Without any additional effort.<p>3. Vast CSS, Node and JavaScript library ecosystem.<p>4. Flexibility in UI. I have yet to see a traditional UI library have the flexibility of CSS + markup.<p>5. Good enough native integrations. Users don&#x27;t lack any of the major native integrations.<p>I am sure there are downsides of Electron. But unless a pure native library challenges some of the pros of electron, it will continue to grow in popularity.
评论 #23735689 未加载
arthurcollealmost 5 years ago
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&#x27;s literally insane.<p>Electron has even worse resource management, since its built on top of Chromium, which doesn&#x27;t even attempt to make any reasonable decisions about how much resources can be utilized. I find it truly remarkable that 5 years ago I could use an 8GB MBP with no issue, and now with a 16GB MBP I get daily warnings about running out of space, because of RubyMine (I get it), Discord, and Chrome.<p>Maybe instead of writing all these articles about how JavaScript is great and the new-wave, actually writing apps that can stay bounded to 250MB memory?
评论 #23721933 未加载
评论 #23731440 未加载
solarkraftalmost 5 years ago
It seems to me like there&#x27;s a high chance <i></i>Catalyst<i></i> will take over macOS development for a lare part. If Electron works with that, maybe. If it doesn&#x27;t I think that will significantly hurt its popularity with Apple ecosystem developers.
评论 #23727383 未加载
nedzadkalmost 5 years ago
i hope not. Electron should just die...Its resource hog and its use should have never left MVP part of the project build!
villgaxalmost 5 years ago
Only if native bindings are freed up of Chromium ties.