# Ownership and data flow in GPUI

DevFeed: [Ownership and data flow in GPUI](<https://devfeed.tech/articles/ownership-and-data-flow-in-gpui-13480.md>)

Original publisher: [Read original article](<https://zed.dev/blog/gpui-ownership>)

Author: Nathan Sobo

Published: 2024-01-25T00:00:00Z

Content type: article

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [ui](<https://devfeed.tech/topics/ui.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Code](<https://devfeed.tech/topics/code.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [code](<https://devfeed.tech/tags/code.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [framework](<https://devfeed.tech/tags/framework.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [rust](<https://devfeed.tech/tags/rust.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This article explains how GPUI models ownership and data flow in Zed's user interface. It describes how a top-level application object owns models and views, allowing them to interact with application services and other entities while supporting dynamic and asynchronous UI behavior in Rust.

## Source excerpt

Read the "Ownership and data flow in GPUI" blog post.