Why isn't there a way to make near-native desktop UIs that's similar in ease to browser and electron UIs?

Cyclohexane@lemmy.ml to Programming@programming.dev – 123 points –

it seems ridiculous that we have to embed an entire browser, meant for internet web browsing, just to create a cross-platform UI with moderate ease.

Why are native or semi-native UI frameworks lagging so far behind? am I wrong in thinking this? are there easier, declarative frameworks for creating semi-native UIs on desktop that don't look like windows 1998?

39

You are viewing a single comment

You mean like qt/qml? Due mind that even with those ui toolkits you will need to ship 'some' library. In case of QT it is not minimal at all. GTK can be more minimal but it still is significant.

Also there is tauri. Which doesn't ship a browser, but uses the platform native we view and is compiled while still having an amazing dev experience.

How is webview different from a browser exactly?

Electron apps ship their own chromium-based renderer, but 'webview' means the OS gets to use its own renderer. It's still a browser-like environment, but at least the OS can choose the most performant one.