<p><strong>184: Asynchronous Programming<br></strong><br></p><p><strong>Intro topic: AI Scams<br></strong><br></p><p><strong>News/Links:<br></strong><br></p><ul><li>Coding Adventure: Ray-Tracing Glass and Caustics (Sebastian Lague)<ul><li><a href="https://www.youtube.com/watch?v=wA1KVZ1eOuA">https://www.youtube.com/watch?v=wA1KVZ1eOuA</a></li></ul></li><li>Boson AI announces Higgs Audio V2<ul><li><a href="https://www.boson.ai/technologies/voice">https://www.boson.ai/technologies/voice</a> </li></ul></li><li>The Misconception that Almost Stopped AI [How Models Learn Part 1] (Welch Labs)<ul><li><a href="https://www.youtube.com/watch?v=NrO20Jb-hy0">https://www.youtube.com/watch?v=NrO20Jb-hy0</a></li></ul></li><li>A mind-bending conversation with Peter Thiel<ul><li><a href="https://www.nytimes.com/2025/07/11/podcasts/interesting-times-a-mind-bending-conversation-with-peter-thiel.html">https://www.nytimes.com/2025/07/11/podcasts/interesting-times-a-mind-bending-conversation-with-peter-thiel.html<br></a><br></li></ul></li></ul><p><strong>Book of the Show</strong></p><ul><li>Patrick<ul><li>The Hobbit (JRR Tolkien)<ul><li><a href="https://amzn.to/4mevuzE">https://amzn.to/4mevuzE</a></li></ul></li></ul></li><li>Jason<ul><li>NYT Word Games<p></p></li></ul></li></ul><p><br></p><p>Patreon Plug <a href="https://www.patreon.com/programmingthrowdown?ty=h">https://www.patreon.com/programmingthrowdown?ty=h</a></p><p><br></p><p><strong>Tool of the Show</strong></p><ul><li>Patrick<ul><li>Escape Academy<ul><li><a href="https://escapeacademygame.com/en">https://escapeacademygame.com/en</a></li></ul></li></ul></li><li>Jason<ul><li>Multi-modal LLMs to make calendar meetings<ul><li><a href="http://www.chatgpt.com">www.chatgpt.com<br></a><br></li></ul></li></ul></li></ul><p><br></p><p><strong>Topic: Asynchronous Computing<br></strong><br></p><ul><li>What/Why<ul><li>Multi-threading in between the lines</li><li>Many of the benefits of multiprocessing without the overhead/complexity</li></ul></li><li>How<ul><li>Coroutines</li><li>Thread-Local Memory</li><li>Blocking vs Non-Blocking operations<ul><li>Blocking: arithmetic</li><li>Non-Blocking: Reading from the network card into thread-local memory</li></ul></li><li>Interpreter locking<ul><li>Typescript: Single threaded</li><li>Python: GIL</li></ul></li></ul></li><li>Implementations<ul><li>Polling (not-Asynchronous)</li><li>Callbacks (interrupts)</li><li>Multithreading (with queues/message passing)</li><li>Promise/Futures</li><li>Async/Await <p></p></li></ul></li></ul>
<strong>
  <a href="https://www.patreon.com/programmingthrowdown" rel="payment" title="★ Support this podcast on Patreon ★">★ Support this podcast on Patreon ★</a>
</strong>

Programming Throwdown

Patrick Wheeler and Jason Gauci

184: Asynchronous Programming

SEP 23, 202590 MIN
Programming Throwdown

184: Asynchronous Programming

SEP 23, 202590 MIN

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 ★