otini is a user on functional.cafe. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
otini @otini

Why do we need and other JS frameworks to make cross-platfrom GUIs? How are they more portable than a Python program using Qt?

· Web · 0 · 2

@otini well, that requires people to learn Python and Qt... the appeal of Electron isn't "portability", it's "reusing HTML/CSS/JS knowledge"

@otini are we complaining about performance and suggesting python? Besides python and qt has been a mess forever

@sweetietheyknow I'm suggesting to use Python only for the GUI, for which the performance doesn't matter. For performance-critical programs I would expect the core to be written in a fast language and communicate with the GUI somehow.

I didn't know Python+Qt was considered a mess, why is that?

@otini JavaScript is not slow anymore! We have websssembly if you need the last 10% too. Idk exactly. I recall the licensing being wonky.

@sweetietheyknow Oh, but my complains about Javascript are not about performance.

And here I was more wondering why Electron was depicted as *the* library to use for cross-platform UI, while Qt has been trying to do just that for 10 years.

@otini it’s a good question. The license? The api? The language? Idk. It’ll get even better when we run Qt in browsers tho! (:

@sweetietheyknow Yeah I guess the browser apps are a major advantage