Libui: GUI library in C
This is a very good approach for the current times!<p>As far as I understand from the source code, libui is a thin C wrapper that makes calls to each platform native ui framework. For instance, to create a window on OSX it calls the corresponding Cocoa function, for Linux the corresponding GTK function, etc. So, unlike Qt and GTK which are heavy cross-platform libraries because they can &quot;draw&quot; their own widgets themselves, this library seems to just call other functions. In that sense, the resulting widgets are as native as they can be!<p>Qt, Gtk and others are from those old days when everyone wanted alternatives to native frameworks that could &quot;draw&quot; their own widgets. That is why Qt and GTK are&#x2F;were useful to build the native desktop frameworks of Linuxes.. In these modern times that everyone has moved to Web, things on the desktop-land are far more stable and it is common agreement that Cocoa is perfectly fine for Mac, Win32 is perfectly fine for Windows and GTK is perfectly fine for Linux. This is great news, so now it is the best time to make thin wrappers around these stable things so that we can all go make useful software..<p>As for the why C and not anything else, is just that all these UI native frameworks can be easily called from C, and C is the common denominator of other higher level languages. So, in theory, each programming language that can interface with C (99.9% of them can) can call the functions of this libui. This means that, in theory, we can all start building 100% native desktop applications in our favorite languages with a lightweight library.. Now I&#x27;m off to start pylibui.. ;)