Conversation
Notices
-
Embed this notice
pondering how most strategic analysis is graphs
also pondering how much of program state is a tree.
sort of feels like a realization of the greybeards moment to just like, base all the data in a program around some kind of tree macro system and then just rely on a generic subscription system for that :blobcatwaitwhat:
between that and ECS it feels excessively elegant despite being... obscure, and not something we usually do
-
Embed this notice
@vr-t8x15 i might use elixir some day. i was using nim before the burnout.
the lack of traditional classes in nim (it has closures though) can be ... odd at times. i think the ECS format may get around that and they work in hard real-time projects so they should be fine in the much softer UI world.
not sure if i'm having a neuron activation moment or i'm just tired af
-
Embed this notice
@icedquinn you may want to to try writing code for the BEAM VM in Erlang or Elixir or Gleam
-
Embed this notice
@icedquinn funny you mention hard real-time; Erlang and its VM were specially created to run telecommunications servers, stations, and routers, so high-reliability and latency is super important there too. wrt writing UI code, a more functional approach fits tree-style programming very well. from what i can tell. you may want to also look at Elm UI architecture as well as the Xilem UI architecture that was inspired by Elm but adapted to Rust.
-
Embed this notice
@vr-t8x15 :blobcatgoogly: I've read about elm yeah. Bubbletea uses it for Go.
I'm not too keen on immediate mode GUIs, which Elm uses, but it's pretty clean.