AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Postman Slash Change Log Pod
Rust is based on data flow rather than control flow. Rust ownership rules are really strict. So we have this kind of global object that owns all the top level of views and models. And then the views and models can kind of interact with this global object via this standard protocol where, you know, like say a user clicks, that's model as an event,. That calls an action on a particular view and we call that into the view. Then there's another big piece of it, which is, okay, once we have updated the state of a view, how do we represent that view on screen? There's this concept of a tree of elements, which is kind of inspired by React