@Amikke i did encounter times in gui code where needing to store metadata about controls came up. most people solve this rather intrusively. like delphi and freepascal have to support layout solvers internally. i think gtk does this in some other weird ways where you have to somehow tag objects with layout data and shit. flutter had yet other odd ways.
somewhat hopeful here because ECS is already proven for games and desktop programs are less performance demanding. if it works for the hard real time stuff it will work for things we can be sleepy about
but more importantly it--actually--presents an oddly clean separation of some of these concerns.
although in reality even if/when i do get some gui apps running--nobody gon care lmao. its just going to sit on top of qt/gtk and people are gonna keep using qt because that's what has the marketing.
i hope to one day make desktop programming great again :ablobcatsnowjoy: i was originally going to use the be/haiku interface (and i made faceplates for this in nim; its missing backend code) but i may not now. depends how this entity component system based experiment goes.
i might make it an amalgam of ECS and Haiku, because i'm curious how this is going to go.