News for hackers. Stuff that matters.
Re:Gio – write immediate-mode GUI programs in Go by throwaway894345 on Wednesday May 26, 2021 @01:42PM (#27293659)
> Imo one big reason why declarative UI's hasn't caught on is because C/C++ really don't have the best ergonomics for building "flexible" data structures or immutable updates, by turning it around to using im-gui style rendering it could probably be solved fairly smoothly.

I suspect it has more to do with the sheer amount of effort to build a new UI toolkit (text rendering itself is an insane amount of work) and so very few UI toolkits actually make it to a usable MVP whether they are traditional/widget-based or reactive.

Re:Gio – write immediate-mode GUI programs in Go by whizzter on Monday May 31, 2021 @07:14AM (#27342800)
I think the classic OSS community will be a bad starting point for this just for this reason, you either start by booting off GTK/QT and end up with a bloated monstrosity that many hardcore C++ developers from other domains will bypass or start from scratch and struggle with basics like text-rendering that you mention.

As someone coming from gamedev, I'd prefer something like this to be few files (maybe even single-file-header lib) that mostly wraps win32,osX,etc core API's for a native experience with good accessibility,etc support. My declarative-style experiment was maybe 6-7 files medium sized files (and I think the implementation ran away with C++ bloat and complexity trying to get the API to mesh updates with C++)