184: Asynchronous Programming - podcast episode cover

184: Asynchronous Programming

Sep 23, 20251 hr 31 minEp. 184
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

184: Asynchronous Programming

Intro topic: AI Scams

News/Links:

Book of the Show


Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h


Tool of the Show


Topic: Asynchronous Computing

  • What/Why
    • Multi-threading in between the lines
    • Many of the benefits of multiprocessing without the overhead/complexity
  • How
    • Coroutines
    • Thread-Local Memory
    • Blocking vs Non-Blocking operations
      • Blocking: arithmetic
      • Non-Blocking: Reading from the network card into thread-local memory
    • Interpreter locking
      • Typescript: Single threaded
      • Python: GIL
  • Implementations
    • Polling (not-Asynchronous)
    • Callbacks (interrupts)
    • Multithreading (with queues/message passing)
    • Promise/Futures
    • Async/Await 

★ Support this podcast on Patreon ★
For the best experience, listen in Metacast app for iOS or Android