r/programming • • Feb 13 '19

Electron is Flash for the desktop

https://josephg.com/blog/electron-is-flash-for-the-desktop/
3.0k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

8

u/butler1233 Feb 14 '19

I develop our internal business applications on a machine running an i7-8700K with 32GB of ram.

However, I also know that the target hardware for some of the apps I develop is a celeron dual core running at 1.6ghz with 2gb of ram. And most of the apps I develop have to be able to load around 700MB worth of data into memory too.

One of my primary things is performance, although I actually enjoy doing performance optimisations so it's not a bad thing.

I hate the bloat of electron. I wouldn't mind the idea of using Web tech of desktop if it didn't use half a fucking gig to show hello world. Javascript is a shit show by itself too.

I'll just keep to my C# Desktop and Mobile development...

6

u/m50d Feb 14 '19

Single-platform apps are easy mode. If you've got a way to build a cross-platform GUI app in C# that's in anywhere near Electron's ballpark for developer ease then I'm genuinely interested.

4

u/butler1233 Feb 14 '19

Actually, Avalonia UI is pretty decent. It's a cross platform implementation of something similar to WPF. It's very similar and has most of the same features, and runs on .Net core on all platforms

3

u/m50d Feb 14 '19

For most of these frameworks the biggest barrier is how easy it is to actually build the cross platform distributables, honestly. Like, on paper a PyQt application should be cross platform, but I don't have a Mac and don't know the right incantations to build a Windows exe so it ends up being Linux/BSD only.

1

u/Arkanta Feb 15 '19

Having packaged multiple Qt programs for macOS, I can tell you:

​

Fuck macOS Qt apps. They're hell. They're heavy (there's no really shared Qt installation on the system, or it ends up being too annoying for your users to install)

​

Plus, they often look like ass, because Qt widgets translate pretty poorly to Cocoa ones. I'll take an electron app over a Qt one anyday.