Ownership and data flow in GPUI
Deep dive 9 min +90 XP
GPUI, Zed's Rust UI framework, sidesteps Rust's single-ownership constraints by having a top-level App own every model and view, while code holds reference-counted Entity<T> handles that can only read or update state when given an App or Context.