John Austin
04/24/2024, 6:50 AMGreg Bylenok
04/24/2024, 3:36 PMJohn Austin
04/24/2024, 3:53 PMJohn Austin
04/24/2024, 3:55 PMJeffrey Tao
04/24/2024, 4:51 PMJohn Austin
04/24/2024, 5:27 PMJohn Austin
04/24/2024, 5:27 PMJeffrey Tao
04/24/2024, 5:41 PMJohn Austin
04/24/2024, 5:49 PMJohn Austin
04/24/2024, 5:50 PMMarek Rogalski
04/25/2024, 6:23 AMJohn Austin
04/25/2024, 6:32 AMJohn Austin
04/25/2024, 6:32 AMoPOKtdJ4UbTdPaZig6jg
04/26/2024, 5:48 AMfoo != nullptr ->
foo->IsValid() ->
-> both connected to an && node
you don't need to do subnets, it just does the most sensible thing.
As for side effects, a "regular graph" has none, except assertions (exceptions). To do effects on the world, I use a behavior tree (which is nicely composable). The leaf nodes have regular graphs, which then may contain nodes with side effects (for example to send messages / spawn objects).
Be aware that dataflow programming (with pure functions) is a different model. Most people are used to do the "little robot in your head" that does stuff, one after the other (which is procedural programming). In dataflow, you are wiring dependencies / data together to create new data. You look at the data instead of the instruction.
I'm curious as how you want to design around these problems and how it fit's into an ECS.John Austin
04/29/2024, 8:18 PMJohn Austin
04/29/2024, 8:19 PMJohn Austin
04/29/2024, 8:22 PMJohn Austin
04/29/2024, 8:22 PMoPOKtdJ4UbTdPaZig6jg
04/30/2024, 4:03 AMJohn Austin
04/30/2024, 4:39 AMJohn Austin
04/30/2024, 4:40 AM