Re:Write Libraries, Not Frameworks
by traverseda on Saturday May 09, 2020 @10:10AM
(#23124819)
Try the "imgui" library?
Sadly even imgui cannot get around the fact that many operating systems (macOS/iOS/Android) force you to give up your main thread. Linux and, perhaps surprisingly, Windows are good guys in this regard.
Instead of using something you're quasi-allergic to, you could work on one you're not?
Rhw issue is that it's not exactly possible, especially on Mac, where your initial thread is sacred and for OS use only.
Windows and Linux UI libs need a main loop somewhere, but it can live on any thread and in fact doesn't need to be structured the same.
(I agree with your main point, and the above fact causes a quasi-allergic reaction in me which causes me to avoid GUI programming - despite graphics being one of my favorite topics.)