you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 1 fun -  (4 children)

Yes, fuck Javascript, it is truly an abomination.

Even literal fucking assembly is a breeze compared to JS.

Yeah no, joke, would rather write assembly than JS any day

Now there are a few alternatives. Dart/Flutter is actually a really excellent cross-platform UI framework for targetting mobile and desktop devices (it even targets linux). This is by far my preferred option for UIs for non-web applicaitons. There is Flutter-Web too, but the performance is pretty terrible. For web you can avoid writing JS with web assembly, although as you mention, yeah you are not totally rid of it as you still need the JS hooks, at least for now

[–]Vulptex[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (3 children)

The standard for desktop UIs is Qt. I'm weary of it because it's proprietary, requires a lot of baggage (even has its own IDE), and the only language you can use is C++ (I guess the devs don't know what extern "C" is). I don't hate C++ as much as I make myself sound like I do, but I don't like having to use one language like that. Though at least in this case I can search for or even write libraries that don't have this downside. I think Firefox did that, I'm not sure why though. I avoid game engines like Unity and Unreal for the same reason (plus they remind me of Alice, which probably isn't a good sign, and they're just an odd concept to me).

[–][deleted] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 1 fun -  (2 children)

Qt is ancient, and has the issues you mention. If you aren't doing heavy animations, Flutter will perform like you want with way less headache, I would seriously recommend Flutter over Qt for almost any project you would have looked at Qt for. Unless you are doing something really animation heavy. It is gaining a lot of traction for linux development

[–]Vulptex[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

Qt is useful for cross-platform GUIs. Without it you have to rewrite the GUI for every platform.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

Qt is useful for cross-platform GUIs. Without it you have to rewrite the GUI for every platform.

Again, I can't promise you will like Flutter, but this is what Flutter offers as well, I'd take a look at it if you aren't totally satisfied with Qt or JS. I personally prefer it to those options, obviously YMMV