Rust in Production
Zed with Conrad Irwin
Conrad Irwin
It's something that evolved naturally. So back to GPUI again, it provides contexts. And contexts are roughly a way of storing global state, but not in a global. But what that lets you do is that code that is sync takes an app context, and code that is async takes an async context. And so if you build something slow, you make it take an async context. You can't call it on the main thread anymore.
0
💬
0
Comments
Log in to comment.
There are no comments yet.