Hacker News new | ask | show | jobs
by wlamartin 1774 days ago
We also use an ECS in Rust (shipyard) to power a bunch of the editing experience in Story.ai

After some serious initial difficulty getting my head away from "this is a block" to "this entity has a block" I think it's turned out to make a lot of sense.

For example, checking whether a value shared by a "when there is a new tweet" is in scope when someone wants to use it (i.e. in nested block) is as simple as having a few components to represent a pointer from value to the ID of the block that shares it, and a list of blocks that share scope for this location and then compare the two.

https://story.ai