Become a Creator today!Start creating today - Share your story with the world!
Start for free
00:00:00
00:00:01
184: Asynchronous Programming image

184: Asynchronous Programming

E184 · Programming Throwdown
Avatar
0 Plays2 months ago

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 ★
Recommended