News for hackers. Stuff that matters.
Re:Clojure Desktop UI Framework by rlkf on Tuesday August 27, 2024 @04:10AM (#41365463)
I found this dimension of the analysis:

> People prefer native apps to web apps

> Java has “UI curse”: Looked bad

to be at odds with this aspect of the design:

> No goal to look native

> Leverage Skia

Re:Clojure Desktop UI Framework by socksy on Tuesday August 27, 2024 @06:21AM (#41365998)
"People prefer native apps to web apps" is talking about literally using an app on your desktop, in the dock, with keyboard shortcuts, rather than having a website in your browser. This is sort of shown by the amount of Electron apps people use — you could use slack, spotify, or vscode in the browser, but most people prefer to use the app.

"Java has UI curse" is referring to how when Java tries to imitate native UI (note the difference to "native app", which is in contrast to a web app), it fails and hits the uncanny valley. No-one likes it.

Given that, it's not a contradiction to have a native app, that does not try to use the native GUI toolkit of the host platform, using Skia directly to draw UI elements.

Re:Clojure Desktop UI Framework by wry_discontent on Tuesday August 27, 2024 @11:42AM (#41368797)
I used a few electron apps in a browser because the Linux experience wasn't working well for me, and it was a dramatically better experience.
Re:Clojure Desktop UI Framework by truculent on Tuesday August 27, 2024 @07:38AM (#41366460)
I suppose it’s just to clarify that those choices are deliberate, with the trade-offs in mind.

The README also suggests that the reason why people prefer native apps isn’t just the UI’s aesthetics, but:

> Normal shortcuts, icon, its own window, file system access, notifications, OS integrations