One of the clearest intros to asyncio I've seen, and I've seen a lot of 'em.
@JasonBrackman7 жыл бұрын
Thanks for putting this presentation together. I really enjoyed it. The gradual build up to asyncio, the code examples (with refactor/adding complexity), the use of colour for different emphasis, and the introduction of different concepts all worked well together.
@lucadorigo18136 жыл бұрын
Finally something that left me less confused at the end than when I started watching. Thanks for the great introduction!
@mrestko6 жыл бұрын
It seems like every python talk is full of comments saying, "this is the greatest talk ever!" But this one really is one of the clearest demonstrations of concurrency and asyncio I've seen on KZbin.
@nyeleskettes3 жыл бұрын
really good explanation. finally i understand the underlying mechanisms and boy... asyncio reinventing the wheel again. A CPU kernel running the OS running the tasks running python running the script running an asyncio loop that schedules your single threaded "task". Shout out to asyncio devs who introduced the N+1 way of running coop code and thus forcing lib developers to create a subprocess, threading, or asyncio based libraries. Now if there is one lib using asyncio all needs to use it. The moment you import one library that is based on asyncio your work will be 99% figuring out how the rest of the libraries can be fit in this concept. Have fun developing a project on those libs based on the various methods.
@gramware7 жыл бұрын
Excellent presentation!
@gauravgaggar67815 жыл бұрын
Wow! One of the best videos on asyncio that I have come across! Thank you for all the amazing examples and explanations😀
@nicksandford16137 жыл бұрын
That was an excellent talk, well presented.
@victornoagbodji7 жыл бұрын
yep!
@ujjwalsingh25817 жыл бұрын
One of the best talks i have came across on youtube. Thank you so much.
@itamar86196 жыл бұрын
Awesome talk! Gives a great understanding of asyncio, this video is a must for everyone who is interested in using asyncio.
@QmdVJ4KrCjUk8886 жыл бұрын
Awesome presentation !!! For now I can understand how Asunción works under the hood.
@mengzhao33985 жыл бұрын
the very only asyncio video one ever need
@user-ug8qc6tr6b7 жыл бұрын
Thank you Robert. Great presentation! I'll going to check your other talks
@MikeVella7 жыл бұрын
This was a very interesting presentation. My overall impression having followed it is that concurrent programming in Python is needlessly complicated.
@t.f.8776 жыл бұрын
Awesome job. Very well explained and presented.
@jiesongshou33846 жыл бұрын
build the case from the ground. easily understood the foundation of running the coroutine and asyncio.
@oliverwann33006 жыл бұрын
It's a very wonderful speech~Thanks a lot :)
@BrunoInec6 жыл бұрын
Awesome talk! Really well done
@hyperboogie7 жыл бұрын
Hi Robert, what are your thoughts on David Beazley's approach of avoiding asyncio altogether? I've seen his talks here on KZbin and they were quite eye opening. I've looked at the code of his curio project and it's brilliant! What's your take on it?
@CodingBumi4 жыл бұрын
Very well presented
@vanheckcz7 жыл бұрын
I guess In 38:35 in this example, the search function should look like: async def search(iterable, predicate): for item in iterable: if await predicate(item): return item raise ValueError('Item not found')
@robertsmallshire23837 жыл бұрын
Yes, if the predicate is itself awaitable that would work. If the predicate is just a regular callable you can use the form of search you see at kzbin.info/www/bejne/g164lIipbK6Af68m25s
@nick4uBB7 жыл бұрын
Great presentation. Python documentation at this subject still sucks :/ Is it possible to download examples?
@corinpatterson52396 жыл бұрын
Great lecture, I don't understand the point about ensure_future() being more idempotent than create_task(). Both will only add one task to the scheduler when the same coro_obj is passed repeatedly to either of these two methods
@explosic42396 жыл бұрын
Where can I download the slides of this talk?
@ГаличанськийРоман7 жыл бұрын
Thank you!
@RatanKulshreshtha7 жыл бұрын
Where can I find slides/code examples for this talk ?
@mark.manalo6 жыл бұрын
Hi there! Anyone know where to download his example codes? That would be really nice! Thanks for the info...
@ericyeh19956 жыл бұрын
would love that too!
@deepythoncom-up3dh7 жыл бұрын
For future watchers: I replicated the asyncio chatroom example in this github repo github.com/claytonblythe/asynchat-cli
@muckvix3 жыл бұрын
Lol at a not too subtle (but well deserved, IMHO) swipe at python design @41:29
@salvaldes32293 жыл бұрын
"coroutine object"? I'm calling it a coroutinerator