Тёмный

Rust: Shared-State Concurrency 

The Dev Method
Подписаться 6 тыс.
Просмотров 12 тыс.
50% 1

#rust #threads #mutex
Instead of passing messages to and from threads, you can also have multiple threads access shared data. Shared memory concurrency is like multiple ownership.
Links
Chapter 16 Section 3
doc.rust-lang....

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

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@alexdai_
@alexdai_ 11 месяцев назад
Brief intro but very straight forward, thx!
@YM-kn1qz
@YM-kn1qz 7 месяцев назад
Thanks for the videos. It really helped me learn rust
@sickel101
@sickel101 Год назад
Great content buddy hope to see more
@glennmiller394
@glennmiller394 Год назад
Good stuff. Thanks.
@SoufiDz
@SoufiDz Год назад
Hello, thank you for this great content. I have a problem. I'm using actix with juniper to program a GraphQL API, and now I'm facing difficulty in modifying the data stored in the variable where I save the data. Every time I add new data through the API, I don't see any changes in the data.
@echobucket
@echobucket Год назад
Could you post an example of deadlocking code where you don't drop the mutex and it deadlocks?
@TheDevMethod
@TheDevMethod Год назад
Let me know if this example helps users.rust-lang.org/t/deadlock-is-it-a-bug-or-is-it-intentional/1544/4
@DSaad
@DSaad Месяц назад
Please make more videos again!
@dubfather521
@dubfather521 24 дня назад
I dont under stand, when you spawn 10 threads, they all try to get the lock at the same time wouldn't the output only be 1? How are the threads all getting the lock/waiting?
@abdul_samad_malik
@abdul_samad_malik Год назад
Hey, which font are you using it looks awesome?
@TheDevMethod
@TheDevMethod Год назад
PlexMono. You can also download a nerd font version called BlexMono.
@andremachado93
@andremachado93 4 месяца назад
this is the same video as "Let's Get Rusty" channel
@xenocampanoli815
@xenocampanoli815 11 месяцев назад
Oh man, I almost always stop listening when asked to like and subscribe at the start. Only reason I stayed here was so many of the Rust presenters are so bad.
@xenocampanoli815
@xenocampanoli815 11 месяцев назад
Good, concise preesntation. Thank you.
@TheDevMethod
@TheDevMethod 10 месяцев назад
At least I'm glad you liked it. The only way to reach a lot of people and help them out on RU-vid is to ask people to subscribe so that it's recommended to more and more people. It's tough making these videos let alone making them bearable to watch. I hope you got what you needed. If not, let me know and I'll give you other recommendations to take a look at.
@futotta-neko
@futotta-neko 4 месяца назад
I was tasked to write a simple game that uses TCP, now im learning multi threading. How the hell did i get here? 😅 (Its my first week writing Rust)
@shinobiwannabe
@shinobiwannabe 2 месяца назад
Game dev is hard
@truehurukan
@truehurukan 5 месяцев назад
Mutex in Rest are "Bizarre" Weird... they lock nothing at all !!! In my code, so back to C programming !!
Далее
Rust: Starting a Workspace
27:47
Просмотров 8 тыс.
Rust Powered Polymorphism ⚡️ With Traits
9:55
Просмотров 98 тыс.
Rust: Closures
19:53
Просмотров 16 тыс.
Rust: Send Data between Threads
8:26
Просмотров 10 тыс.
Use Arc Instead of Vec
15:21
Просмотров 145 тыс.
Concurrency in Rust - Sharing State
9:12
Просмотров 36 тыс.
Rust: Generics, Traits, Lifetimes
35:34
Просмотров 47 тыс.
Rainer Stropek - Memory Management in Rust
59:48
Просмотров 11 тыс.
Where is Rust being used?
11:46
Просмотров 74 тыс.
Rust: Iterators
20:07
Просмотров 15 тыс.