[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1758844221325234.png (6 KB, 120x86)
6 KB
6 KB PNG
>>
>>107899464
java swing.
>>
>>107899490
Saar.
>>
>>107899464
GTK
FLTK
Electron
>>
>>107899464
becasue GTK is shit
>>
Just use ImGui.
>>
gtk works if you comply with gnome vision
>>
>>107899519
I will when he finally implements styling.
>>
>>107899506
>Electron
Come on man, that's not funny.
>>
>>107899464
Tk
>>
File: based_js.png (33 KB, 797x310)
33 KB
33 KB PNG
>>107899550
compared to what C and C++ have to offer, making GUI with HTML/JS is actually less cancerous. I do plenty of C++ backend programming, but would never use it to make anything with a GUI.
>>
>>107899594
The problem is for a complicated GUI running everything in a webbrowser is slow and for a simple GUI running everything in a browser is retarded and bloated.
>>
>>107899552
That does seem like the only real useful alternative but how is it for building modern GUIs? Has it even been updated since 1991?
>>
>>107899541
I will not comply.
>>
>>107899541
gtk is great if you want a ui as ugly as gimp
>>
File: 1738426940534734.png (30 KB, 200x193)
30 KB
30 KB PNG
>>107899464
>what is WTL
>>
>>107899464
Compose multiplatform.
>>
>>107899631
I am not sure how complicated do you mean. vscode seems pretty complicated, and works fine on my 5yo PC. launches in split second. the only problem I have with Electron is excessive RAM use and no uniform interface style across different programs. both could be solved if enough people cared. other than that I don't mind Electron.
>>
>>107899464
flutter shame the ui is written with dart though
>>
>>107899677
You're forgetting the huge installer size, the insane CPU usage (windows 11 is a meme because of this), the RAM bloat. Maybe if electron was the only app running on a machine it would be forgivable but imagine 10 electron apps or 100 electron apps lol.
>>
>>107899842
you forgot the xbox drivers
>google it
>>
>>107899464
because it works very well on many platforms
>>
File: Capture.png (43 KB, 1280x694)
43 KB
43 KB PNG
>>107899594
I'd never use HTML
>>
>>107899541
They moved all gnomisms to libadwaita though?
The actual issue is that only linux is a 1st class citizen, rest are an after thought
See the issues for mac and windows, and compare them to linux ones
https://gitlab.gnome.org/GNOME/gtk/-/issues?or%5Blabel_name%5D%5B%5D=Windows
https://gitlab.gnome.org/GNOME/gtk/-/issues?or%5Blabel_name%5D%5B%5D=MacOS
>>
>>107900009
>not even entire project
>already looks like shit
>>
>>107899550
To be fair these days the meta is to use the system provided webview instead which is a bit less bloated because all apps share the same runtime and then it's just the frontend the entire logic can be written in a low level efficient language, not a big fan of Rust but something like this: https://tauri.app/
>>
>>107900042
>unstyled elements inside a styled window look like shit, the technology must be bad
>>
File: 568587.png (60 KB, 955x710)
60 KB
60 KB PNG
>>107899543
Works fine for me. And you can already style ImgGUI, change the sizes and colors and stuff.
>>
>>107899594
HTML/JS run like shit and their positioning of elements is trash tier.
>>
There really aren't.
Sure, there are some "alternatives" but they're like comparing a nice restaurant with Meow Mix.
As for why, complexity. It's why there hasn't been a competitor to Android.
>>
>>107900024
thats why I said comply with gnome.
>>
>>107900438
use case for complying with gnome?
>>
>>107899490
Go back to Atlanta, Josh.
>>
File: ebussy.jpg (94 KB, 800x800)
94 KB
94 KB JPG
>>107900024
>>107900445
Resistance is futile
>>
>>107900406
>HTML/JS run like shit
they don't. it's not 2010 anymore.
>their positioning of elements is trash tier
skill issue. you can do literally anything you want with them.
>>
>>107899464
Because literally nobody makes native programs anymore, we just either do web apps or package web apps into Electron apps, there's no large enough demand for Qt alternatives.
>>
>>107900377
I need gradients. Anything you make with it still looks like an amateur garage project not for public use.
>>
>>107899464
There can only be one!
>>
>>107900955
The problem with Qt is it's $5000USD a year. Which is fucking insane for a solo indie dev. If they had any sense they'd have a license like unreal engine where you pay them once you're over the income limit.
>>
>>107901465
I checked and it seems like small businesses can get a license for 500e/year
>>
>>107899490
this. it just werks. haters gonna hate.
use flatlaf look and feel.
>>
File: 1741646887377778.png (56 KB, 1024x564)
56 KB
56 KB PNG
i just use imgui
>>
>>107901604
It really should be free until you're actually making money, because chances are good you won't make anything and you'll be paying them for no reason.
>>
>>107899679
>>>/mlp/
>>
>>107901752
qt is free as long as you comply with lgpl / gpl
>>
>>107899641
tk9 was released just recently, I don't think it changed much tho.
>>
>>107899541
Stop perpetuating this misinformation. The GNOME elements exist in libadwaita.
>>
>>107899506
>GTK
>Electron
lmao
>>
>>107899464
there are. qt is just better
>>
>>107901856
It's not that simple. The way you link libraries matters and for embedded, it's not really possible to build in a way that complies with anything other than the commercial license.
>>
File: file.png (13 KB, 601x342)
13 KB
13 KB PNG
>>107901955
>expecting a /g/tard to know anything technical
lol, lmao even.
even their own docs show you how to make a normal app
>>
>>107901955
>>107902279
read the reply chain retards
>>
>>107899631
>for a complicated GUI running everything in a webbrowser is slow
No it's not. Modern HTML, CSS and JS are literally made for GUIs and they're extremely fast.
The reason you think they're slow is because slop websites have conditioned you into thinking that HTML/JS are slow. The performance bottleneck on websites is exclusively an issue caused by dynamically fetched content and by tracking scripts/ads which are competing for your hardware and bandwidth. When you're running an (Electron) application which accesses data from your local device and already has all assets downloaded then you won't experience any sluggishness unless your application is written by incompetent devs (in which case you'd have the same shitty experience no matter the UI framework used).

>bloated
The solution isn't to fall back to a shittier alternative like C++, the solution is to use Tauri instead of Electron. It saves space by using your system webview instead of shipping it's own browser and it uses far less RAM as a baseline.

>>107900406
>HTML/JS run like shit and their positioning of elements is trash tier.
Both false. Read above.
>>
>>107899594
this
>>
>>107900406
>their positioning of elements is trash tier.
this nigger can't into CSS. CSS Flexbox is S tier, I haven't seen another layout model that is more convenient and versatile.
I legitimately wish I had CSS everytime I have to touch a UI outside of HTML.
>>
>>107903885
I always though Electron programs should be distributed with a shared runtime, like Java or .NET apps. it would be less flexible, but way more RAM-efficient. with insane amounts of RAM and storage we have today, no one pays any attention to efficiency. maybe current RAM shortage will bring some changes, when normies will be forced back to using 8GB RAM machines.
>>
I like Qt programs because they can use the theme I have on the system and look consistent with each other.
>>
>>107901644
and it shows, yuck
>>
>>107899464
There are many alternatives. Tk, wxWidgets, GTK, FLTK, ImGui, Electron/Tauri/other webview shit, the list goes on.
>>
>>107901864
9.1a1 is supposed to be out soon; the release manager started the branch for that a few days ago, but there's a bunch of testing that gets done (do the build scripts work on weird platforms, that sort of thing)
>>
>>107905145
>wxWidgets
I don't think it really counts because it's just a wrapper for other GUI APIs. it's basically GTK on Linux.
>>
>>107902043
What's the problem with GTK? It just works, if you're on Linux.

>>107899464
>cross platform GUI
Qt isn't really that great either.
The reality is that's impossible to make a trully cross platform GUI API. Every OS has it's own unique shit to deal with. You can make something that cover may 90% of usecases, at a massive performance or size cost, but even then it's going to have limitations nothing is going to be trully perfect.

I personally gave up the idea long ago and just use whatever the each OS offers. If you have a good architecture and you keep your models separated from your views, the actual GUI code is trivial.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.