News for hackers. Stuff that matters.
Re:Ask HN: Is there still a place for native desktop apps? by alexchamberlain on Monday May 18, 2020 @03:29AM (#23219378)
I guess the question becomes: what is the native ecosystem missing that means devs are choosing to deliver memory/CPU hungry apps, rather than small efficient ones?
Re:Ask HN: Is there still a place for native desktop apps? by thdrdt on Monday May 18, 2020 @04:09AM (#23219677)
(Easy) Cross platform publishing.
Re:Ask HN: Is there still a place for native desktop apps? by quantummkv on Monday May 18, 2020 @06:52AM (#23220790)
HTML, CSS and Javascript. Most of these electron apps are basically wrappers around actual websites to give a place in the dock and show notifications and access the filesystem.
Re:Ask HN: Is there still a place for native desktop apps? by gindely on Monday May 18, 2020 @09:54AM (#23222323)
But that isn't what's missing. It's a restatement of the problem. DOM based apps are much more resource intensive than native. What is missing from native that makes business choose DOM?

If there was some modern tool like WxWidgets that supported modern apis like DOM, Android and UWP, would we see more use of native? Electron would therefore become pointless.

Re:Ask HN: Is there still a place for native desktop apps? by fragmede on Monday May 18, 2020 @11:44AM (#23223857)
That is what's missing, albiet tersely stated.

The hypothetical business has two choices. Choose Electron, or choose some other toolkit that has native, cross-platform support (like Qt). It's far easier for the business, and the developers there, to take their existing website HTML, CSS, and Javascript; and simply wrap it in Electron (which costs $0), and call it a day. Every other choice is (perceived as being) more expensive.

Qt is a modern toolkit with native-cross platform support, but costs money for commercial use, and businesses and software developers don't want to spend the money on it.

Re:Ask HN: Is there still a place for native desktop apps? by MaxBarraclough on Monday May 18, 2020 @10:39AM (#23222870)
Qt Quick takes plenty of ideas from the web playbook.

https://en.wikipedia.org/wiki/QML

Re:Ask HN: Is there still a place for native desktop apps? by aalbacetef on Monday May 18, 2020 @09:03AM (#23221772)
as someone who has done both desktop apps and electron apps, it is much faster to write some html/css and wrap it in electron than to do the same in qt/gtk/etc...

Not to mention, the HTML/CSS combo is possibly the best we've come up with for designing user interfaces.