News for hackers. Stuff that matters.
Re:Gtk4 Tutorial by PaulDavisThe1st on Wednesday October 20, 2021 @11:30PM (#28939872)
This is a false claim.

The "rise" of Electron has occured primarily because it allows people to do desktop development using whatever it that they learned in the context of web-centric development. For some people, that's an excellent turn of events, for others, it is a horror show.

Even if I was willing to grant that GTK and Qt etc. are "crap" (which I'm not, but ...), it's notable that there are essentially zero cross-platform alternatives that could be judged any less "crappy". Either you think that nobody smart enough has tried, or this is a much harder problem to solve to your liking than it first appears.

Re:Gtk4 Tutorial by analognoise on Wednesday October 20, 2021 @11:50PM (#28940005)
Lazarus/FreePascal makes all of these things look like trash. GTK, QT, and Electron.

Native, cross platform, tiny binaries, JS transpiler in the works, Android and iOS support in the works. Destroys this...mess.

Re:Gtk4 Tutorial by unwind on Thursday October 21, 2021 @01:06AM (#28940520)
How can a UI toolkit be more native than GTK on Linux?
Re:Gtk4 Tutorial by PaulDavisThe1st on Thursday October 21, 2021 @01:10AM (#28940541)
You can be as native as GTK on Linux :)
Re:Gtk4 Tutorial by analognoise on Thursday October 21, 2021 @01:32AM (#28940703)
GTK is not required on Linux for FreePascal GUIs.

See MSEIde, which is directly X11: https://github.com/mse-org/mseide-msegui

"MSEgui is a complete independent Free Pascal widgetset. It does not use any other widgetsets like GTK2/GTK3/Qt4/Qt5. MSEgui interacts on Unix directly with X11 server (like other widgetsets do). On Windows, it deals with the low level Windows GDI interface."

Although a separate windowing set than Lazarus, both are enabled by the FreePascal compiler.

Lazarus does have a GTK backend as an option on Linux.

Re:Gtk4 Tutorial by PaulDavisThe1st on Thursday October 21, 2021 @01:09AM (#28940536)
as a RAD-like tool, Lazarus looks pretty good.

But I'm the author of a substantial cross-platform creative/media application, and not only do we not use any RAD tools, I don't think we could. So if you "destroy this mess", I'm not sure how we could do what we do. Very few "creative" applications use stock toolkits and RAD tools.

Re:Gtk4 Tutorial by analognoise on Thursday October 21, 2021 @01:22AM (#28940626)
The RAD component is optional; you're free to code up your interface if you'd like.
Re:Gtk4 Tutorial by PaulDavisThe1st on Thursday October 21, 2021 @01:37AM (#28940732)
Which from what I can tell would buy me essentially nothing over any other cross-platform GUI toolkit.

I don't use Qt, but QML and its associated tools look to me at least as good as Lazarus.