Ep 24. Parallel Computing Is Here
- TV-PG
- November 1, 2016
- 35 min
How to Program: Computer Science Concepts and Python Exercises is an educational show designed to teach viewers about computer programming and the Python language. In season 1 episode 24, titled "Parallel Computing Is Here," viewers will learn about the concept of parallel computing and how it can be applied to programming.
The episode begins with a brief overview of what parallel computing is and how it differs from traditional computing. Viewers will learn that in parallel computing, multiple processes or tasks can be executed simultaneously on multiple processors or cores, allowing for faster computation times and improved performance.
The show then delves into how parallel computing can be achieved in Python. The host explains that Python has several libraries, such as multiprocessing, threading, and concurrent.futures, that can be used to implement parallelism in code.
Viewers will also learn about the different types of parallelism, including task parallelism and data parallelism, and how they can be used in various programming scenarios. The host demonstrates how to use the multiprocessing library to perform task parallelism by executing multiple processes simultaneously to process data.
Next, the show explores more complex parallelism concepts, such as shared memory parallelism and distributed computing. The host explains how shared memory parallelism can be implemented using the threading library, and how it can be used to optimize performance in code that performs a large number of calculations.
Finally, the episode concludes with a discussion about distributed computing and how it can be used to solve problems that require more computing power than a single machine can provide. The host explains that distributed computing involves distributing tasks across multiple machines, connected through a network, to achieve parallelism.
Overall, season 1 episode 24 of How to Program: Computer Science Concepts and Python Exercises offers a thorough introduction to the concept of parallel computing and how it can be applied in programming using Python. The show is a valuable resource for anyone interested in learning about computer programming and the Python language, from beginners to experienced programmers looking to improve their skills.