News for hackers. Stuff that matters.
Re:Ask HN: Develop productivity app first for Mac or Windows... by baumandm on Tuesday March 19, 2019 @01:24PM (#19433057)
Don't use Electon. Your users WILL notice and complain about performance.

Is this actually true? Slack and Discord are valued at ~$7B and $2B respectively, and neither have found it necessary to move off their Electron apps. I assume both companies have already evaluated whether Electron's performance impacts their their bottom line, and concluded it does not.

Electron is undoubtedly slower and more resource-intensive than other options, but outside of specific audiences (HN readers) I bet most people won't care.

Re:Ask HN: Develop productivity app first for Mac or Windows... by fbelzile on Tuesday March 19, 2019 @02:17PM (#19433786)
You're right. It's a relatively small, but persistent concern people have emailed me about. After a while, the squeaky wheel gets the grease.

I know this because I'm temporarily using a Chrome-based WebBrowser component for called EO.WebBrowser (for edge-case reasons). I'm working on going back to the native WebBrowser control after getting about a few emails a month of emails asking about RAM usage.

It also shows up in the uninstall comments. Quote from a real comment: "The app works, but it uses a lot of RAM."

Slack and Discord are used for work, which might make users think of it a necessary evil. Paying for software yourself that you don't absolutely need and having it use lots of your RAM is a different story.

Re:Ask HN: Develop productivity app first for Mac or Windows... by nickjj on Tuesday March 19, 2019 @06:56PM (#19436992)
> Electron is undoubtedly slower and more resource-intensive than other options, but outside of specific audiences (HN readers) I bet most people won't care.

I think it makes even more of a difference for people outside of the HN audience.

A non-technical person might grab a $400 laptop from Costco with 4gb of RAM which is fairly common.

All it takes are a few Electron apps to exhaust that entire system's resources.

Re:Ask HN: Develop productivity app first for Mac or Windows... by baumandm on Wednesday March 20, 2019 @05:20PM (#19447060)
Fair points.

All I was trying to say was that Electron and other technical decisions should be evaluated by their actual business impact, which vary from app to app.

Re:Ask HN: Develop productivity app first for Mac or Windows... by anoncake on Tuesday March 19, 2019 @11:47PM (#19438759)
But will a non-technical person know which apps are to blame?
Re:Ask HN: Develop productivity app first for Mac or Windows... by nickjj on Wednesday March 20, 2019 @07:59AM (#19441180)
They will be able to determine "before I installed this app everything was good but now it's not" and then they will proceed to blame your app (with good reason).