Get to grips with asyncio in Python 3 - Robert Smallshire

Поделиться
HTML-код
  • Опубликовано: 29 авг 2024
  • НаукаНаука

Комментарии • 35

  • @kirbyurner
    @kirbyurner 7 лет назад +16

    One of the clearest intros to asyncio I've seen, and I've seen a lot of 'em.

  • @JasonBrackman
    @JasonBrackman 7 лет назад +17

    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.

  • @lucadorigo1813
    @lucadorigo1813 6 лет назад +2

    Finally something that left me less confused at the end than when I started watching. Thanks for the great introduction!

  • @mrestko
    @mrestko 6 лет назад

    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 RUclips.

  • @__mader__
    @__mader__ 7 лет назад +6

    so far, one if the best, if not the best, talk about asyncio

  • @gramware
    @gramware 7 лет назад +10

    Excellent presentation!

  • @gauravgaggar6781
    @gauravgaggar6781 5 лет назад

    Wow! One of the best videos on asyncio that I have come across! Thank you for all the amazing examples and explanations😀

  • @ujjwalsingh2581
    @ujjwalsingh2581 7 лет назад

    One of the best talks i have came across on youtube.
    Thank you so much.

  • @mengzhao3398
    @mengzhao3398 5 лет назад

    the very only asyncio video one ever need

  • @nicksandford1613
    @nicksandford1613 7 лет назад +12

    That was an excellent talk, well presented.

  • @itamar8619
    @itamar8619 5 лет назад

    Awesome talk!
    Gives a great understanding of asyncio, this video is a must for everyone who is interested in using asyncio.

  • @nyeleskettes
    @nyeleskettes 3 года назад

    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.

  • @wailokcheung6808
    @wailokcheung6808 6 лет назад

    Awesome presentation !!! For now I can understand how Asunción works under the hood.

  • @user-ug8qc6tr6b
    @user-ug8qc6tr6b 7 лет назад

    Thank you Robert. Great presentation! I'll going to check your other talks

  • @MikeVella
    @MikeVella 7 лет назад

    This was a very interesting presentation. My overall impression having followed it is that concurrent programming in Python is needlessly complicated.

  • @t.f.877
    @t.f.877 6 лет назад

    Awesome job. Very well explained and presented.

  • @jiesongshou3384
    @jiesongshou3384 6 лет назад

    build the case from the ground. easily understood the foundation of running the coroutine and asyncio.

  • @The-North
    @The-North 6 лет назад

    Great presentation!

  • @vanheckcz
    @vanheckcz 7 лет назад +2

    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')

    • @robertsmallshire2383
      @robertsmallshire2383 7 лет назад

      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 ruclips.net/video/M-UcUs7IMIM/видео.htmlm25s

  • @oliverwann3300
    @oliverwann3300 5 лет назад

    It's a very wonderful speech~Thanks a lot :)

  • @BrunoInec
    @BrunoInec 6 лет назад

    Awesome talk! Really well done

  • @corinpatterson5239
    @corinpatterson5239 6 лет назад

    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

  • @CodingBumi
    @CodingBumi 4 года назад

    Very well presented

  • @hyperboogie
    @hyperboogie 7 лет назад

    Hi Robert, what are your thoughts on David Beazley's approach of avoiding asyncio altogether? I've seen his talks here on RUclips 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?

  • @nick4uBB
    @nick4uBB 7 лет назад +1

    Great presentation. Python documentation at this subject still sucks :/
    Is it possible to download examples?

  • @explosic4239
    @explosic4239 6 лет назад +1

    Where can I download the slides of this talk?

  • @deepythoncom-up3dh
    @deepythoncom-up3dh 6 лет назад

    For future watchers: I replicated the asyncio chatroom example in this github repo github.com/claytonblythe/asynchat-cli

  • @mark.manalo
    @mark.manalo 6 лет назад +1

    Hi there! Anyone know where to download his example codes? That would be really nice! Thanks for the info...

  • @RatanKulshreshtha
    @RatanKulshreshtha 6 лет назад

    Where can I find slides/code examples for this talk ?

  • @user-gt2vd9dl7c
    @user-gt2vd9dl7c 7 лет назад

    Thank you!

  • @muckvix
    @muckvix 3 года назад

    Lol at a not too subtle (but well deserved, IMHO) swipe at python design @41:29

  • @salvaldes3229
    @salvaldes3229 3 года назад

    "coroutine object"? I'm calling it a coroutinerator