Articles liés à Python Free Threading: A Guide to GIL-Less Parallel...

Python Free Threading: A Guide to GIL-Less Parallel Programming - Couverture souple

Dantas Morais, Bruno Well

 
9798243202473: Python Free Threading: A Guide to GIL-Less Parallel Programming

Synopsis

Unlock the full potential of your CPU with the new era of Python parallelism

With the release of Python 3.13 and with the experimental removal of the Global Interpreter Lock (GIL), the most popular language in the world now has support for free threads.
Python Free-Threading offers a roadmap to this paradigm shift. The book goes through some theory, but mainly the practice of parallel programming with multi-core Python threads.

What You Will Learn

  • Fundamentals: Concurrency, Parallelism, Processes, Threads, Speedup, Amdahl’s Law.

  • Parallel Patterns: MapReduce, Message Passing, Producer-Consumer, and Actors.

  • Thread Safety: Learn to avoid the pitfalls of race conditions.

  • Case Studies: See free-threading in action with a number of samples and how they perform.

Who

Designed for intermediate to advanced Python developers who want to learn more about the practice of parallel programming.

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.