Artwork

184: Asynchronous Programming

Programming Throwdown

7,601 subscribers

published

iconShare
 
Manage episode 508045659 series 8393
Content provided by Patrick Wheeler and Jason Gauci, Patrick Wheeler, and Jason Gauci. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Patrick Wheeler and Jason Gauci, Patrick Wheeler, and Jason Gauci or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://staging.podcastplayer.com/legal.

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 ★
  continue reading

186 episodes