Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Build Your Own Async

    David Beazley

    4 HN recommenders · recommended in 3 months, 2020–2023

    YouTube

    2:12:42 · 60K views · Oct 17, 2019

    David Beazley's workshop screencast builds asynchronous programming in Python from scratch, starting from callbacks and continuations and replacing threads to show how concurrency works underneath.

    HN people recommend it as the best way to understand what async machinery actually does under the covers.

    Software Engineering & LanguagesPython, Ruby & scripting languagesSoftware practice, open source & careers
    1. 46:10
      Understanding the Python GILDavid Beazley127K views • 14 years ago
    2. 35:12
      Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...JSConf808K views • 8 years ago
    3. 26:53
      What the heck is the event loop anyway? | Philip Roberts | JSConf EUJSConf3.8M views • 12 years ago
    4. 1:01:45
      A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)David Beazley26K views • 7 years ago
    5. 1:13:53
      Raymond Hettinger, Keynote on Concurrency, PyBay 2017SF Python161K views • 9 years ago
    6. 32:17
      Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018PyCon 201830K views • 8 years ago
    7. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    8. 57:05
      Keynote: Begin...End?David Beazley9.5K views • 5 years ago
    9. 58:08
      Parallelism, Concurrency, and Asynchrony in Perl 6 / Jonathan Worthingtonyapcasia6K views • 11 years ago
    10. 3:26:34
      David Beazley - Lambda Calculus from the Ground Up - PyCon 2019PyCon 201952K views • 7 years ago
    11. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago
    12. 48:51
      Transforming Code into Beautiful, Idiomatic PythonNext Day Video1.1M views • 13 years ago
    13. 49:20
      Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020Redis11K views • 6 years ago
    14. 2:34:01
      Crust of Rust: async/awaitJon Gjengset246K views • 5 years ago
    15. 51:27
      Google I/O 2012 - Go Concurrency PatternsGoogle for Developers894K views • 14 years ago
    16. 49:55
      How Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach!20K views • 10 years ago
    17. 3:32:50
      JavaScript: Understanding the Weird Parts - The First 3.5 HoursTony Alicea4.2M views • 11 years ago
    18. 43:04
      "Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)Strange Loop Conference468K views • 4 years ago
    19. 31:38
      Cory Benfield - Building Protocol Libraries The Right Way - PyCon 2016PyCon 201615K views • 10 years ago
    20. 52:24
      Friday evening lightning talksNext Day Video6.4K views • 13 years ago

    4 comments from Hacker News

    1. @devxpyMay 2020· in “Linux containers in a few lines of code”

      Yes, something like that. Like here's David's "Build Your Own Async" [1], which I prefer over Philip's (still extremely good) "What the heck is the event loop anyway?" [2]. It's one thing to tell how something works, but to successfully show what the hell its actually doing under the covers, just conveys much more information. [1] this video [2] [LINK]

      Strongly recommendsView on HN
    2. @miguelollerMay 2020· in “Guide to Concurrency in Python with Asyncio”

      I've found this [1] screencast on the low-level principles of async in Python an amazing resource to understand async at a deep level. [1] this video

      Strongly recommendsView on HN
    3. @mananaysiempreSep 2023· in “Philosophy of Coroutines”

      > I talk about generators as if they were the coroutine system in Python, but in fact, they’re one of two: Python also has a completely different kind of thing that it actually uses the name ‘coroutine’ for, in which function definitions start with async def and suspend with await . The async and await system of coroutines in Python is in fact layered on top of the yield system, via an intermediate construct called yield from —which isn’t even technically required, it’s just that implementing it as a loop passing values through from and to the subcoroutine is exceptionally tedious if done correctly[1] and can’t be abstracted as a function call. As a first approximation, await x in Python is equivalent to yield from x.__await__() . It should have been completely equivalent, arguably, but history got in the way. David Beazley has a talk[2] where he walks you through implementing an async runtime (to put it pompously) and you can see how the whole thing hangs together. It’s really quite simple, and in my experience it’s much better than trying to wrap your head around the asyncio docs, because while the language-level foundations are extremely nice and simple, asyncio the stdlib module just kind of sucks. [1] [LINK] [2] this video

      RecommendsView on HN
    4. @neoncontrailsMar 2022· in “Pre-Allocated Lists in Python”

      I highly recommend Victor Skvortsov's exhaustive, 12-part series, "Python Behind the Scenes," a deep dive into the implementation details of just about every Python language feature one could possibly take for granted. There isn't a single one I haven't learned something from, but some of my personal favorites include: * Part 2, How the CPython compiler works: [LINK] * Part 6, How Python's object system works: [LINK] * Part 10, How Python dictionaries work: [LINK] * Part 13: The GIL and its effects on Python multithreading: [LINK] The whole series can be found here: [LINK] For a slightly higher-level (i.e., no macabre, low-level C code), but still incredibly enlightening dive into the "dark side" of Python, in particular various abuses and hexes for manipulating control flow, have a look at David Beazley's smorgasboard of keynote presentations like "Generators: The Final Frontier" ( [LINK] ), "Python Concurrency From The Ground Up" ( [LINK] ), and "Build Your Own Async" ( this video ).

      RecommendsView on HN