Take your programming skills to next level by mastering concepts of concurrency and parallelism in Python.About This Book
Programmers with some experience with Python wanting to build high-performance applications that scale by leveraging single-core, multicore, or distributed concurrency but have had difficulty following online materials on the topic. Readers should be familiar to Python programming syntax, error handling, and debugging.What You Will Learn
Python is one of the most popular programming languages out there, with numerous libraries and frameworks that facilitate high-performance computing. While concurrency and parallelism in Python behave differently than those in other programming languages, it is still in every way possible to implement Python programs that run concurrently or in parallel and make a significant improvement in execution time. Mastering Concurrency in Python serves as a comprehensive introduction to various advanced concepts in concurrent engineering and programming.
This book starts by introducing the concepts and principles of the most important elements in concurrency, together with common problems that engineers and programmers face in concurrent programming. It then explores Python syntax and various functionalities that support concurrent and parallel programming that Python provides. Next the book discusses a number of advanced concepts in Python concurrency and how they interact with the Python ecosystem, including the aforementioned GIL. Finally, examples of how concurrency is being used to solve real-world problems will be discussed.
By the end of Mastering Concurrency in Python, you will have an extensive theoretical knowledge regarding concurrency, and a practical know-how of the ways concurrency is supported by the Python language.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.