Excellent videos on asyncio man. You have an excellent skill explain complex things in such a simple way. Many times i came to this channel to check if new video is updated.
Loved the movie references in the video and the description! least favorite parts of async programming: 1) identifying all 3rd party code that is not made with async support and might block the event loop and putting them into loop.run_in_executor 2) reasoning about the flow - some other code running in between awaits that might change the state or tricky cancellations between awaits that might leave the system (database) in inconsistent states
00:00 Introduction 02:43 briefly about Future 03:39 examples of methods of Future 05:06 set_result, set_exception, cancel 09:49 gather 10:33 callback 12:11 under the hood of Future 14:00 coroutine as generator in Python 3.4 17:14 generators 20:19 passing a value to a generator 21:41 more generator methods 22:15 how coroutines worked in 2014 24:00 under the hood of the Task class in 2014 28:05 under the hood of the Task class in 2020 30:29 implementation of tasks in C 31:48 implementation of coroutines in C 33:33 demonstration of the execution steps 42:30 about performing several, not one task 44:05 under the hood 47:50 result 48:19 The answer to the question of the viewer 51:23 used computer resources 56:25 What's next
Love the episode and the series! Waiting for another and I will certainly watch the whole series once again to consume and learn everything. I like the casual (+funny) style but still very professional / competent. Gonna recommend the series to friends. Keep up the great work, looking forward to the rest of the series :)
great great tutorial, no one does it better than you. . could you please create a new updated version of this series. If you get time from your busy schedule. Cheers !
Futures/promises etc... was one of the reason I hated JS. Why python? Why?!?!?!?! Very good videos, still strugling to get the concept nailed down. Mostly due to the huge set of different things with which the same action can be performed. Low/high level APIs Version dependency for some APIs are a couple of the confusing factors. A good clean up is required. Thank you for the great videos though. Keep the good work up it makes things a bit less painful to understand.
I'm sure that the speaker is smart and has a deep knowledge of asyncio and Python in general, and that the video series covers many interesting topics. However, the video series is not really beginner-friendly in my opinion. It would be much better to review these videos after acquiring some practical experience of Asyncio.
Excellent videos, I'm watching them all. At 25:07 you mentioned that the _step function calls coro.send(None) to advance the coroutine to the next stopping point. But, what is the equivalent for async generators? They suspend both at the lowest level awaits and also at yields. Does asyncio call asend to resume async generators from awaits?
These videos are great! Thank you 🙏 I’m trying to find a good strategy for managing parallel tasks, e.g. restarting finished tasks without disturbing active tasks. Tried gather but don’t think that’s right tool for the job. Possibly wrapping tasks in a factory task with a trampoline might work.
Excellent videos on asyncio man. You have an excellent skill explain complex things in such a simple way. Many times i came to this channel to check if new video is updated.
Loved the movie references in the video and the description!
least favorite parts of async programming: 1) identifying all 3rd party code that is not made with async support and might block the event loop and putting them into loop.run_in_executor 2) reasoning about the flow - some other code running in between awaits that might change the state or tricky cancellations between awaits that might leave the system (database) in inconsistent states
00:00 Introduction
02:43 briefly about Future
03:39 examples of methods of Future
05:06 set_result, set_exception, cancel
09:49 gather
10:33 callback
12:11 under the hood of Future
14:00 coroutine as generator in Python 3.4
17:14 generators
20:19 passing a value to a generator
21:41 more generator methods
22:15 how coroutines worked in 2014
24:00 under the hood of the Task class in 2014
28:05 under the hood of the Task class in 2020
30:29 implementation of tasks in C
31:48 implementation of coroutines in C
33:33 demonstration of the execution steps
42:30 about performing several, not one task
44:05 under the hood
47:50 result
48:19 The answer to the question of the viewer
51:23 used computer resources
56:25 What's next
Love the episode and the series! Waiting for another and I will certainly watch the whole series once again to consume and learn everything. I like the casual (+funny) style but still very professional / competent. Gonna recommend the series to friends.
Keep up the great work,
looking forward to the rest of the series :)
Yes! Finally the next episode - awesome !
This video is nothing short of amazing! Hats off, and thanks for the lecture.
Perfect. I have been looking for these details for a while. Thank you
great great tutorial, no one does it better than you. .
could you please create a new updated version of this series. If you get time from your busy schedule.
Cheers !
Futures/promises etc... was one of the reason I hated JS. Why python? Why?!?!?!?! Very good videos, still strugling to get the concept nailed down. Mostly due to the huge set of different things with which the same action can be performed.
Low/high level APIs
Version dependency for some APIs
are a couple of the confusing factors.
A good clean up is required. Thank you for the great videos though. Keep the good work up it makes things a bit less painful to understand.
Dzięki Łukaszu za całą tę serię 👍
Sweet! I've been waiting for this
This video is exactly the one that I needed!
I'm sure that the speaker is smart and has a deep knowledge of asyncio and Python in general, and that the video series covers many interesting topics. However, the video series is not really beginner-friendly in my opinion. It would be much better to review these videos after acquiring some practical experience of Asyncio.
Thank you for such a thorough explanation!
This series really deserves no haircut 🙏🙏
I'd love to see a demo of edge db.
We'll make sure to get a video on this topic on the channel. In the mean time, you can try it out yourself right now on tutorial.edgedb.com!
@@EdgeDB You should bring it as part of this asyncio course :).
Excellent videos, I'm watching them all. At 25:07 you mentioned that the _step function calls coro.send(None) to advance the coroutine to the next stopping point. But, what is the equivalent for async generators? They suspend both at the lowest level awaits and also at yields. Does asyncio call asend to resume async generators from awaits?
24:35 "that looks promising" i know what u did there
could you please publish a playlist on multithreadred in python?
This is a great video, superb!
These videos are great! Thank you 🙏
I’m trying to find a good strategy for managing parallel tasks, e.g. restarting finished tasks without disturbing active tasks. Tried gather but don’t think that’s right tool for the job. Possibly wrapping tasks in a factory task with a trampoline might work.
Congrats man. Great stuff!
Great content again! Thank you
awesome tutorial for me, appreciate a lot!
you are great at this !
Coming back to this videos, I thought to myself: "I'll give the edge db a try" :)
AWESOME
👏🏾👏🏾👏🏾
great
u cool man!
I heard you like generators...