logoalt Hacker News

dist-epochyesterday at 10:29 PM3 repliesview on HN

I've programmed in every native Windows GUI starting with MFC. Used Delphi too. I've even created MS-DOS TUI apps using Turbo Vision.

Compared to the web stack and Electron, native GUI APIs are complete shit. Both for the programmer, but also for the user.

Reactive UI (in the sense of React, Vue, ...), the greatest innovation in UI programming ever, was made popular by web-people.

Unless you write some ultra-high performance app like a Browser, a CAD app, a music production app, it doesn't make any sense to use native GUIs. Takes longer to program, the result is uglier and with less features. And for those ultra high performance apps you don't use the native UI toolkit anyway, you program your own widgets since the native ones are dog shit and slow.


Replies

pjmlptoday at 6:17 AM

Interesting, I have the exact opposite opinion, and I also have to deal with Web since 1999.

React is no innovation at all, some folks got a bit enthusiastic with Haskell reactive programming papers.

show 1 reply
VorpalWayyesterday at 10:42 PM

Don't forget about all the embedded UIs (kiosks, appliances, car infotainment, industrial equipment, ...), those computers are weaker and it makes a ton of sense to use native toolkits there.

They tried to replace our Qt GUI at work in this space with a react based one, the new UI ran like utter shit comparatively, even after a lot of effort was spent on optimisation.

Also, most of the world don't use high end developer laptops. Most of the world is the developing world, where phone apps on low end Android phones reign supreme.

wolvesechoesyesterday at 11:47 PM

Just serialize and deserialize your JSON bro, so much faster and easier