Redlining Your CPU for Fun and Profit: Threading and Multiprocessing in Python
summary
Shows how to swap a simple for loop for concurrent.futures and get real parallelism using ProcessPoolExecutor for CPU‑bound primes (two lines changed to .map) and ThreadPoolExecutor for IO using .submit and futures.as_completed. Explains future.result blocking semantics, default worker counts and context manager usage, and when to prefer processes vs threads or a hybrid. Demonstrations claim noticeable speedups and drive CPU to near 100%.
AI-written summary · about
related talks
31mPython Multithreading and Multiprocessing: Concurrency and Parallelism
35mWriting robust, readable, and maintainable concurrent programs in Python
30mSpeed Up Your Data Processing
02h 57mPython Concurrency: from beginner to pro
30mParallel computing in Python: Current state and recent advances
39mUnlocking the Parallel Universe: Subinterpreters and Free-Threading in...
36mConcurrency and Parallelism with Python for Humans
30mParallelization of code in Python for beginners
