Re:Libui: a portable GUI library for C
by LeoNatan25 on Saturday May 19, 2018 @08:48PM
(#17110551)
What a surprise, so there are alternatives to Electron garbage! Who knew!
[ Parent
| on HN ]
Qt? Although it has its own problems, the end product is often way better than Electron.
Re:Libui: a portable GUI library for C
by kitsunesoba on Saturday May 19, 2018 @09:05PM
(#17110598)
It may have changed since I last gave it a shot previously one annoyance I had with Qt was binary distribution. Getting it all packaged up correctly for each platform is much less than straightforward and if your app isn’t FOSS it’s exacerbated by LGPL linking requirements. It should really be a simple, single button process.
> Getting it all packaged up correctly for each platform is much less than straightforward and if your app isn’t FOSS it’s exacerbated by LGPL linking requirements.
Electron also has LGPL dependencies (Blink, FFMPEG) and libui depends on GTK which is also under LGPL so...
There is no LGPL linking requirements if you buy Qt commercial license.
There is also gtkmm
Not sure why I've been downvoted. What is wrong with gtkmm? It's a reasonable C++ binding to GTK+
Re:Libui: a portable GUI library for C
by CyberDildonics on Sunday May 20, 2018 @03:54PM
(#17114464)
Ironically this library is small, easy to compile, written in C++ with a C interface, and unbelievably slow. Try out the test.exe and watch everything slow to a crawl. It is worse than Atom about the speed of the slowest modern program I've ever seen - the ethereum wallet.
I assume you are using the Windows version. The slowness is a bug that I have to fix; there are several issues about it, and a few ideas of how to fix it. You can comment out some code in container.cpp if you want to have it go fast but also be ugly (the code has to do with transparency of standard controls on tabbed backgrounds).