6 ms·
Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯
by mavdi 7y ago
Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯
- floatboth 7y agoIt's actually the new XULRunner.
- thecopy 7y agoOr the new JAVA
- saagarjha 7y agoJava actually made an effort to look like the platform it was on, though.
- xigency 7y agoThat has never been my impression. Java applications have a Java look. What has actually impressed me as an easy way to do native looking UIs, albeit simple ones, is PyTK. On Windows, you can even select between the different styles that are internal.
- metalliqaz 7y agoI certainly avoid it the way I avoid flash webpages.
- bsmith0 7y agoIt makes cross-platform desktop development much easier. VSCode, Discord, and (the new) Slack are written in Electron, and those absolutely excel, even at the cost of a bit extra memory usage. There's a circlejerk of Electron hate, but there's a reason it's so popular, the ease of development outweighs its weighty memory drawbacks for many companies and individuals. Edit: Not to mention that it uses Node.js, HTML, CSS, so moving from web-apps => desktop becomes a much simpler endeavor.
- sixothree 7y agoI don't know why people complain about performance. VSCode is my primary experience with Electron and it runs extremely well. It handles large files just as well as Notepad++. edit: Just to be clear I don't suggest notepad++ is best at large files. EditPad is clearly the winner in that category. But I do mean to say VSCode and N++ are on par with each other. Besides, VSCode provides an incredible amount of functionality. So what if it uses as much RAM as my browser. I routinely run multiple browsers, each with multiple windows.
- vanilla_nut 7y agoVSCode is generally considered to be the canonical example of an Electron app well optimized. They have put a significant amount of work (much moreso than your average company producing an Electron app) into making it very responsive. All you have to do is use Slack or Discord or Atom or Skype and you'll quickly understand why people hate on the performance. Spotify is a good example of an application that doesn't use Electron (though it uses a similar framework) and still manages to be incredibly slow and bloated. As are most websites. So the problem might not be that Electron is slow... it might just be that the web in general is really slow unless you work extra hard.
- inferiorhuman 7y agoVSCode is generally considered to be the canonical example of an Electron app well optimized. They have put a significant amount of work (much moreso than your average company producing an Electron app) into making it very responsive. And it's still significantly slower than something like Emacs or Sublime (or, dare I say, IntelliJ?). I like, and use, Visual Studio code but it's hardly performant.
- tomatotomato37 7y agoMakes sense. Instead of bringing slow risky software to the web just so people didn't have to learn javascript, it brings slow risky software to the desktop just so people don't have to learn C.
- t0astbread 7y agoWhy risky? This vulnerability applies to any runtime or program that isn't signed as far as I can tell. It's not specific to Electron or JavaScript. Aside from that, I don't know what the situation is in the year 2019 but does C still allow you to easily mess up memory management?
- pgcj_poster 7y agoBut. Flash was faster than JavaScript for a long time.
- notatoad 7y agoname one way in which they're similar (beyond "I don't like either of them")
- sixothree 7y agoYou can't run electron apps in a browser nor is there a runtime needing installation. :) since we're doing that sort of thing.
- pjc50 7y agoIt doesn't have a convenient but proprietary IDE for creating it.
- ilikehurdles 7y agoHow? Honestly, I don't see the comparison.