How To Use Multiprocessing In Python

In this video I go over how to utilize the Multiprocessing Module in Python. Multiprocessing allows us to bypass the Python Global Interpreter Lock also know as the GIL which restricts programs to run in a single process. Multiprocessing resembles the Threading module. This is useful for parallel programming and increasing the speed of your programs.

Пікірлер: 10

  • @arandomguy3526
    @arandomguy352616 күн бұрын

    Ur channel is really underrated

  • @TaylorsSoftware

    @TaylorsSoftware

    15 күн бұрын

    Thank you! :)

  • @harshgamer6105
    @harshgamer610510 күн бұрын

    hey pal, nice vid, but what's the use of going into so much trouble when we can just create two different functions, or does this 'multiprocessing' has any specific use?

  • @TaylorsSoftware

    @TaylorsSoftware

    7 күн бұрын

    Great question. Multiprocessing allows you to run your code simultaneously without restricting you from Python's Global Interpreter Lock. In practice, this make your applications run much faster and will reduce the overhead on a single core on your cpu during run time.

  • @harshgamer6105

    @harshgamer6105

    7 күн бұрын

    @@TaylorsSoftware Got it, thanks for the explanation!

  • @Osamaforgaming
    @Osamaforgaming16 күн бұрын

    Who else did not understand this??

  • @TaylorsSoftware

    @TaylorsSoftware

    15 күн бұрын

    What part was difficult to understand?

  • @Osamaforgaming

    @Osamaforgaming

    15 күн бұрын

    I'm sorry I love your channel but this subject I didn't understand it​@TaylorsSoftware

  • @TaylorsSoftware

    @TaylorsSoftware

    13 күн бұрын

    No worries and thank you so much! Let me know if you have any suggestions.