Show HN: Octopus – a directed acyclic graph for app development Directed acyclic graphs are muched discussed in comp-sci, but octopus appears to be the first reusable, turnkey, ready-to-wear, off-the-shelf implementation of a DAG for application development, in any language, that I'm aware of. This is remarkable because DAGs hit a sweet spot in the middle of the three common programming paradigms (OO, event-driven, functional). Let's have a DAG as the top-level structure of our applications. Data-fetching and onChange handlers live in DAG nodes, next to the data they act on. The UI flows out from the DAG with fine-grained reactivity. Our app state is effortlessly consistent, because any outside change (user action, api result) unleashes a graph traversal. Our UI components become much simpler, because they just need to dumbly reflect values in the graph. I'm putting this up for a second time. Absolutely no-one bit the first time, which can't be right :-) https://ift.tt/W0i4VKh December 15, 2023 at 12:06AM
Show HN: Octopus – a directed acyclic graph for app development https://ift.tt/FZuPkJH
Related Articles
Show HN: Repo2vec – an open-source library for chatting with any codebase https://ift.tt/7LNUaiJShow HN: Repo2vec – an open-source library for chatting with any codeb… Read More
Show HN: Open-source alternative to Loom that only requires S3 https://ift.tt/QRYa4qfShow HN: Open-source alternative to Loom that only requires S3 https:/… Read More
Show HN: A somewhat faster, more lightweight, ripgrep-inspired alternative https://ift.tt/pwWbLPFShow HN: A somewhat faster, more lightweight, ripgrep-inspired alterna… Read More
Show HN: Live Subtitles for Any App on Mac https://ift.tt/l78AuwPShow HN: Live Subtitles for Any App on Mac I’m non-native English Spea… Read More
Show HN: We built a Chrome extension AI Fantasy Draft Assistant https://ift.tt/LMXeb46Show HN: We built a Chrome extension AI Fantasy Draft Assistant https:… Read More
Show HN: Everything the Bitcoiners Were Promising https://ift.tt/CmuEcWnShow HN: Everything the Bitcoiners Were Promising https://ift.tt/QYJ7c… Read More
Show HN: Warehouse OpenAI requests to your own database https://ift.tt/4QN8wzZShow HN: Warehouse OpenAI requests to your own database Today we’re la… Read More
Show HN: Genie – Add Events to Your Google Calendar from Screenshots https://ift.tt/PRn9MB6Show HN: Genie – Add Events to Your Google Calendar from Screenshots H… Read More
0 Comments: