News for hackers. Stuff that matters.
Re:Sad state of cross platform GUI frameworks by _bxg1 on Friday April 03, 2020 @11:02PM (#22775883)
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.

Re:Sad state of cross platform GUI frameworks by giulianob on Friday April 03, 2020 @11:15PM (#22775950)
It'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.
Re:Sad state of cross platform GUI frameworks by _bxg1 on Friday April 03, 2020 @11:26PM (#22775988)
> 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.