News for hackers. Stuff that matters.
Re:I've spent the last two years building a new email client by yani on Wednesday May 02, 2018 @05:21AM (#16975259)
You are not weird. More and more people think that Electron is bad
Re:I've spent the last two years building a new email client by dang on Wednesday May 02, 2018 @12:12PM (#16978413)
We detached this subthread from https://news.ycombinator.com/item?id=16975199 and marked it off-topic.
Re:I've spent the last two years building a new email client by superkuh on Wednesday May 02, 2018 @05:07PM (#16981165)
Please stop censoring views that don't align with the hackernews majority. Just because these complaints are so common that HN hipsters now like to hate on them does not invalidate them.
Re:I've spent the last two years building a new email client by dang on Thursday May 03, 2018 @12:33PM (#16987437)
This seems contradictory, since hipsters would never align with the majority.
Re:I've spent the last two years building a new email client by SquareWheel on Wednesday May 02, 2018 @05:32AM (#16975318)
This is an "all my friends voted for..." argument.

Electron applications such as Slack, Discord, and VS Code have ballooned in popularity over the last year or two. Hacker News comments are not representative of the whole.

Re:I've spent the last two years building a new email client by yani on Wednesday May 02, 2018 @05:48AM (#16975404)
It is not about popularity, it is about the resources Electron apps use vs native. The apps that you mentioned do not have good native alternatives. I cannot see anyone preferring a native app over Electron app if both offer the same features.
Re:I've spent the last two years building a new email client by brandonwamboldt on Wednesday May 02, 2018 @06:12AM (#16975520)
I prefer VS Code over native alternatives. Don't conflate your anecdotal evidence with facts. Many users don't know much RAM a process consumes or what an Electron app is, they just care about what the app can do, how fast it is, etc.
Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @06:57AM (#16975735)
>I prefer VS Code over native alternatives.

That's because, as the parent said, there are no good (e.g. equivalent) native alternatives.

If there was a native editor with feature parity with VS Code (including the number of plugins and dedicated MS resources speeding up its development, and free), nobody would be using it.

Re:I've spent the last two years building a new email client by croon on Wednesday May 02, 2018 @07:22AM (#16975848)
> If there was a native editor with feature parity with VS Code (including the number of plugins and dedicated MS resources speeding up its development, and free), nobody would be using it.

Is it possible that VS Code (for example) exists (in its feature specific incarnation ) only because Electron is a cost cutter in terms of portable development?

In other terms: Maybe the portable native full featured VS Code is the middle of the cheap-fast-good venn diagram.

Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @09:19AM (#16976554)
>Is it possible that VS Code (for example) exists (in its feature specific incarnation ) only because Electron is a cost cutter in terms of portable development?

It could -- though I doubt it.

But I was concerned with a more limited question: if there was a good VS Code alternative that's native, would many still prefer an Electron version?

Re:I've spent the last two years building a new email client by croon on Wednesday May 02, 2018 @09:41AM (#16976742)
> But I was concerned with a more limited question: if there was a good VS Code alternative that's native, would many still prefer an Electron version?

I understood what you meant. I respect you disagreeing with my premise, but in the scenario where that premise is true, your question is not applicable.

Scenario: Would anyone choose MDF boards at IKEA if they could choose plywood or natural wood, or assemble their own furniture if given the choice (at the same price)? Barring a few applications, probably not. But IKEA wouldn't be IKEA if they were just another producer of wood furniture, meaning they got to market and stayed there because of the shortcuts and limitations they could justify when reaching a price.

Same thing here (IMHO). VS Code could have some cross-platform code and some platform specific code, but the cost would be higher and the output velocity would likely be lower. Assuming that is true, your question is misleading, albeit not on purpose.

Re:I've spent the last two years building a new email client by Chico75 on Wednesday May 02, 2018 @10:07AM (#16976987)
Most people wouldn't care unless there was a performance difference between the two.
Re:I've spent the last two years building a new email client by rootlocus on Wednesday May 02, 2018 @07:25AM (#16975871)
> That's because, as the parent said, there are no good (e.g. equivalent) native alternatives.

There is sublime text.

Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @09:20AM (#16976567)
Which is what I use. But ST3 doesn't have the full power of a 20+ strong MS team behind it, but a single person (and another hired to help here and there), and so doesn't have the same momentum -- and it's getting behind in features as well.
Re:I've spent the last two years building a new email client by rootlocus on Wednesday May 02, 2018 @11:45AM (#16978053)
I never kept tabs on the development effort on neither VSCode nor Sublime Text, but it was always my impression that much of the power either editor has comes from 3rd party extensions rather than the editor core. As such, I believe it was the hype around Atom and VSCode that drove people to write extensions for them, leaving ST behind.
Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @03:53PM (#16980581)
>but it was always my impression that much of the power either editor has comes from 3rd party extensions rather than the editor core

A lot of it, yes. But VSCode also invests a lot in core functionality (in what in other platforms would be plugins). The Git integration is one such example -- or the ability to debug Chrome in it.

Re:I've spent the last two years building a new email client by IncRnd on Wednesday May 02, 2018 @11:02AM (#16977530)
>>I prefer VS Code over native alternatives.

>That's because, as the parent said, there are no good (e.g. equivalent) native alternatives.

But that's not true. I use Sublime Edit and have happily used BBEdit and TextMate. Emacs is fine for many people, and I still use vim for fast edits in terminal mode all the time. There are plenty of other great native editors for just about all platforms.

Re:I've spent the last two years building a new email client by LeoNatan25 on Wednesday May 02, 2018 @07:12AM (#16975804)
BBEdit is excellent. So is Notepad++.
Re:I've spent the last two years building a new email client by mihaela on Wednesday May 02, 2018 @08:09AM (#16976139)
I prefer Sublime Text.
Re:I've spent the last two years building a new email client by Insanity on Wednesday May 02, 2018 @06:06AM (#16975486)
Do you mean, you cannot see anyone preferring an Electron app over a native app?
Re:I've spent the last two years building a new email client by oldcynic on Wednesday May 02, 2018 @06:17AM (#16975547)
That's almost never the choice though is it? Who offers an Electron app and a native app?

So the choice becomes use an Electron app or something else entirely.

Re:I've spent the last two years building a new email client by y_molodtsov on Wednesday May 02, 2018 @06:34AM (#16975627)
The choice is actually more interesting. Although big companies such as Slack potentially have resources to support development for multiple platforms, even they can implement new features faster due to Electron. Think about all those small teams that just wouldn’t be able to port their apps anywhere without it.

So in some ways I’d probably prefer a good Electron app.

Re:I've spent the last two years building a new email client by oldcynic on Wednesday May 02, 2018 @06:59AM (#16975743)
For this, a mail client, I doubt there'd actually be much saving going native - it's going to need browser level HTML either way. So here Electron may have negligible cost. Thunderbird easily goes over 300M when it's been running a while for instance.

For other things I'm far less keen as Electron is often a sign of a needless memory hog - 100M pomodoro timers and such like.

Re:I've spent the last two years building a new email client by y_molodtsov on Wednesday May 02, 2018 @07:30AM (#16975901)
Probably. Spark takes up around 200M on my laptop, so it's not that big of a deal.
Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @06:58AM (#16975740)
Nobody, but many offer an Electron app for things where equally good native apps exist.
Re:I've spent the last two years building a new email client by gmueckl on Wednesday May 02, 2018 @07:53AM (#16976037)
Not true. Look at the various Skype clients, e.g. for Linux. Memory usage ballooned after they wrote their Electron based client. It uses 4 to 5 times the amount of memory of the old Qt based client and idle CPU usage is through the roof, too. And it can't even handle long conversations smoothly.
Re:I've spent the last two years building a new email client by Insanity on Wednesday May 02, 2018 @06:31AM (#16975612)
Electron app versus using their website I guess. In which case I use their website.

But I agree, it's almost never a choice, but it's a hypothetical

Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @06:58AM (#16975738)
All other things being equal of course not.
Re:I've spent the last two years building a new email client by rootlocus on Wednesday May 02, 2018 @07:26AM (#16975874)
> All other things being equal

All other things will never be equal.

Re:I've spent the last two years building a new email client by coldtea on Wednesday May 02, 2018 @06:57PM (#16981885)
Absolutely equal no, or else it would be the same app. But that's contrived.

My point is that given two apps that both have the features a user considers "must have", few, if any, would pick the Electron one over the native, precisely because of the extra burden in cpu/memory/speed of Electron.

Re:I've spent the last two years building a new email client by fenrisbear on Wednesday May 02, 2018 @09:22AM (#16976584)
An electron-apps can use and call native code. I see Rust getting some attraction being bundled with electron apps. This should be a thing every electron app maker out there. Rust or otherwise.
Re:I've spent the last two years building a new email client by IncRnd on Wednesday May 02, 2018 @09:04AM (#16976466)
You discounted an "all my friends voted for..." argument with a different "all my friends voted for..." statement.
Re:I've spent the last two years building a new email client by Sir_Cmpwn on Wednesday May 02, 2018 @07:30AM (#16975896)
Popular does not mean good. In fact, it often means the opposite.
Re:I've spent the last two years building a new email client by be_jenk on Wednesday May 02, 2018 @09:23AM (#16976586)
Profitable?
Re:I've spent the last two years building a new email client by gsich on Wednesday May 02, 2018 @07:24AM (#16975862)
Slack is probably the best example for a bad Electron application. So slow.
Re:I've spent the last two years building a new email client by haphazardeous on Wednesday May 02, 2018 @05:48AM (#16975405)
Totally agreed. I dare to download an Electron app these days. Some days I wish it was 1997 and all apps were native :)
Re:I've spent the last two years building a new email client by rootlocus on Wednesday May 02, 2018 @06:16AM (#16975544)
Most end users don't know what Electron is.
Re:I've spent the last two years building a new email client by tonyedgecombe on Wednesday May 02, 2018 @06:42AM (#16975667)
They know what slow is though.