Тёмный

Zed Decoded: Async Rust 

Zed Industries
Подписаться 2,2 тыс.
Просмотров 7 тыс.
50% 1

This is the first video in a new series, Zed Decoded, in which we'll take a close look at how Zed works and how it's built.
This is the companion video to a full blog post that you can find here 👉 zed.dev/blog/zed-decoded-asyn...
In episode, Thorsten and Antonio talk about async Rust and explore how it's used in Zed. This conversation is the basis for the blog post.
Chapters
00:00 Introduction to Async Rust and Concurrency
03:12 Choosing a Runtime and Setting Up the Main Function
06:31 Integrating with macOS using Grand Central Dispatch
10:00 The Importance of the Main Thread in macOS Applications
20:23 The Background Executor for Multi-Threading
24:40 Using the Background Executor
25:18 Spawning Tasks and Detaching
26:08 Tasks as Handles to Futures
27:32 Awaiting Background Tasks
28:29 Offloading Work with the Background Executor
29:59 Efficient Cloning and Mutation
36:42 Deterministic Testing with a Test Executor

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@underflowexception
@underflowexception 2 месяца назад
Great video but couldn't see anything. I often watch these long form videos on my TV so maybe next time increase the font size by a few factors.
@user-eg6nq7qt8c
@user-eg6nq7qt8c 2 месяца назад
This is great! Lots to learn. Love this project. The font is a little too small to read the code though
2 месяца назад
Yes, please zoom in a lot more next time. I’m watching this on my phone 😅
@aperson4051
@aperson4051 2 месяца назад
I'm enjoying these videos. thanks for publishing
@agni8840
@agni8840 2 месяца назад
i love zed and as soon as i got it i never opened vs code again. I really like how zed comes with rust analyzer built in, it feels like the perfect IDE for rust
@romaninsh
@romaninsh 2 месяца назад
Amazing video! Looking forward to the next one.
@WorstDeveloper
@WorstDeveloper 2 месяца назад
I can't see the code on my phone. Please make the front larger and make the editor fullscreen.
@Heater-v1.0.0
@Heater-v1.0.0 2 месяца назад
This is great stuff. It would be even greater if a little care were taken with the audio (making sure there is no reverberation in the speakers environment) and more importantly, as this about code, one should ensure it is possible for viewers to actually read the code! Otherwise the whole hour could be pointless.
@Dorumin
@Dorumin 2 месяца назад
So it building its own runtime closely married with the Mac event loop is why it's a macOS open app. Would've expected that using one of the common runtimes and just a channel for things that need to be done in the main thread would do it
@zxyxyzzyx
@zxyxyzzyx 2 месяца назад
Anyway to get that theme in Zed as of today?
@jrmoulton
@jrmoulton 2 месяца назад
gruvbox dark hard
@user-of6ls2ng5l
@user-of6ls2ng5l 2 месяца назад
thanks for the small print, turned the video off right away)
Далее
Zed Decoded:  Rope & SumTree
54:33
Просмотров 5 тыс.
BU KUN | THIS DAY
00:28
Просмотров 4 млн
Rust Lifetimes
26:52
Просмотров 50 тыс.
Zed Editor Overview | Linux Quick Start
10:34
Просмотров 18 тыс.
Self-referential structs (in Rust)
27:21
Просмотров 52 тыс.
Starting a new 2d platformer with ECS
6:04
Просмотров 47 тыс.
Helix & marksman! (why I don't use Obsidian)
8:43
Просмотров 25 тыс.
eBPF: Unlocking the Kernel [OFFICIAL DOCUMENTARY]
30:00
Jon Gjengset - Towards Impeccable Rust
55:59
Просмотров 24 тыс.
The Good, the Bad, and the Async
51:26
Просмотров 1,9 тыс.
Crust of Rust: async/await
2:34:01
Просмотров 182 тыс.