Sebastian Raschka 6/20/2014

An introduction to parallel programming using Python's multiprocessing module

Read Original

This article introduces parallel programming in Python using the multiprocessing module. It explains the limitations of the Global Interpreter Lock (GIL) and contrasts multi-threading with multi-processing. The tutorial covers the Process and Pool classes, demonstrates how to retrieve results, and includes a practical benchmarking example using kernel density estimation.

An introduction to parallel programming using Python's multiprocessing module

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week