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: Instagram artist finder for music producers https://ift.tt/Pcfu93QShow HN: Instagram artist finder for music producers https://ift.tt/Kv… Read More
Show HN: Papermusic (draw an instrument, then play it) https://ift.tt/zbK1Z5DShow HN: Papermusic (draw an instrument, then play it) This was a fun … Read More
Show HN: SQLite Database Explorer https://ift.tt/FCwbfMdShow HN: SQLite Database Explorer SQLite database explorer https://ift… Read More
Show HN: I made the world's first bilingual job board https://ift.tt/25Qwuz7Show HN: I made the world's first bilingual job board https://ift.tt/S… Read More
Show HN: I Made an AI Software Engineer with Google Gemini 1.5 Flash https://ift.tt/VFqKsZhShow HN: I Made an AI Software Engineer with Google Gemini 1.5 Flash H… Read More
Show HN: Billard – Generate music from ball collisions in 2D space https://ift.tt/7f5TuJ3Show HN: Billard – Generate music from ball collisions in 2D space Hel… Read More
Show HN: I made an open source and local translation app https://ift.tt/3sNZGKFShow HN: I made an open source and local translation app A few years a… Read More
Show HN: ThreadQuilt: AI-Free Thread Aggregator https://ift.tt/MOB6TotShow HN: ThreadQuilt: AI-Free Thread Aggregator Hey HN, I've been work… Read More
0 Comments: