Re:Integrated Terminal Performance Improvements
by santaclaus on Wednesday October 04, 2017 @04:49PM
(#15404498)
> it's a no-brainer to choose JS for just about any complex UI
Javascript? Sure. Electron? Maybe not. Show me an Electron app with load times that aren't measured in seconds. Or an Electron-based text editor that doesn't choke on a moderately sized text file. VS Code is currently taking half a gig of ram on my notebook with three text files open...
I happen to quite like VS Code, but to claim that Electron is a no-brainer is simply false. There are serious tradeoffs.
Re:Integrated Terminal Performance Improvements
by chowyuncat on Wednesday October 04, 2017 @05:32PM
(#15404901)
VS Code doesn't seem to choke to moderately sized files. There is a large amount of non-Electron code used for its text editor.
I am actually the opposite of you: totally thankful for JS and electron, and I think they are the best possible future for apps.
To be honest, I really think people have an emotional reaction to JS/Electron one because it's seen as a threat to their preferred language, and two because it has all this built up hate due to legitimate past problems. A few years of pretty hectic pace in JS-land and now it's close to greatness, but still very inconsistent, so people still love to hate it. Couple that with some poorly made apps (looking at you Spotify/Slack) and you have a weird sect on HN that now vilifies Electron/JS with totally incorrect arguments about stability and speed (both are very doable with modern practices).
I'm not saying you are this person, or your grievances aren't real. But I'd be happy to put some money on the following points:
1. Electron/JS apps will be more prolific in the next 5 years
2. They will also be clearly the best platform for speed, stability and flexibility due to massive and ever improving ecosystems and dev tools.
Both have been happening, and to be honest, today we're at a point where I think it's a no-brainer to choose JS for just about any complex UI. The problem is you're wading into a fast-changing, diverse ecosystem, and a few wrong choices there can be very painful.