News for hackers. Stuff that matters.
Re:Immediate Mode GUI Programming by merb on Monday January 15, 2024 @07:25PM (#39007878)
> There's a reason every major OS GUI toolkit is this design.

Ehh.. the latest os ui toolkit is uwp which lost to react native (a im gui) and it does not look that winui3 will fix that. Linux has two major gui libraries, both are probably only used by enthusiasts and not by enterprises which prefer to target react native (mostly for different reasons tough)

Drawing components won because the object oriented world of gui design sucks and because it’s hard to target multiple systems. All modern ui libs use a kind of immediate mode. It’s way easier to understand and you do not need to explain why you need to use mvvm.

Re:Immediate Mode GUI Programming by jayd16 on Monday January 15, 2024 @08:21PM (#39008249)
React native is an imgui? Aren't views defined with a declarative language similar but distinct from html?
Re:Immediate Mode GUI Programming by kragen on Tuesday January 16, 2024 @02:21AM (#39010391)
yes, it is

yes, they usually are, which is irrelevant to the question of whether react is retained-mode or immediate-mode

please see https://news.ycombinator.com/item?id=39010462 for more detail

Re:Immediate Mode GUI Programming by rstat1 on Monday January 15, 2024 @11:44PM (#39009599)
For desktop use, Qt is quite widely used pretty much everywhere. I only ever see React Native being used so a company can claim to have a "native" mobile app.
Re:Immediate Mode GUI Programming by merb on Wednesday January 17, 2024 @06:33PM (#39035176)
Im not sure if you used windows in the last 5 years than. Heck the new outlook is a react native kind of ui.
Re:Immediate Mode GUI Programming by rstat1 on Sunday January 21, 2024 @02:02AM (#39076312)
All the stuff I use on Windows (save for Discord) is a real native app.

I don't use the new Outlook app because MS email apps usually suck compared to what's available elsewhere.