agreed, and the root problem is the object oriented model

a GUI is a process, you paint this and you mask that and you hide the other thing

the immediate mode model for GUI is the future IMO, we are just waiting for objects to die

you can already see this model rising with all the game engines, in fact i won't be surprised if someone cooks a game engine into a display manager back end

this is almost exactly what Apple did with Cocoa

Reply to this note

Please Login to reply.

Discussion

is there an example in the wild of a gui that isn't a object model?

our own nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3xamnwvaz7tm0venxx6rpd9hzuur4vghszgrhwden5te0dehhxarj9ejkjmn4dej85ampdeaxjeewwdcxzcm99uq3yamnwvaz7tmwdaehgun4v5hxxmmd9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyrhprfwl7sxpnf247s07g26g7q8xrry3yftz9t3hkmptkeahd38yjzwel5z is building Gossip with a Rust immediate mode GUI of the kind i am describing

of course like everything there has been a Go equivalent since 2016 or so and the original was in C, called `imgui`

it will be some time before someone builds a desktop out of it though, i think first an IMGUI based wayland or X (i wish the latter but i bet the former is already underway)