3 ms·
I think the vitriol against JavaScript is unfair, but I absolutely agree that if native cross-platform desktop development weren't so horrendous, many things th
by _bxg1 7y ago
I think the vitriol against JavaScript is unfair, but I absolutely agree that if native cross-platform desktop development weren't so horrendous, many things that currently use Electron, wouldn't. The web's main draw these days is that it's a free, cross-platform GUI platform that sees active development and community support. That's the bar.
All of that said - and I've said this elsewhere before - JavaScript is not the problem with Electron. I'm so weary of hearing this. Even the web is not really the problem with Electron. Electron's problem is that there's no way to share Chromium instances across installations or processes. That's it.
- giulianob 7y agoIt's both. Go look at your memory usage per tab and it's not uncommon to see hundreds of megabytes for a simple static 2d UI. The way web renders is extremely inefficient then you couple that with a language that has no regards for how a computer actually works and you get to the sad state we're in today.
- _bxg1 7y ago> hundreds of megabytes for a simple static 2d UI Without a specific example that's hard to argue against, but I would wager it has more to do with images, unnecessarily complex DOM, and possibly just poor engineering, as opposed to JavaScript itself. > that has no regards for how a computer actually works You mean like Python? And Lisp? If you're taking issue with the very concept of high-level languages then state it as such, and good luck making a case for that.