Threading vs. multiprocessing in Python

preview_player
Показать описание
With Python 3.13 looking to change the world with regards to multi-core parallelism, I thought it would be good to take a look at what we have right here, right now!

Oh, and pitch them against each other for a laugh.



If you enjoy my content, consider supporting me on Patreon or becoming a member!

If you need help with anything, feel free to join the Discord server:

I get a lot of people asking, so here's my Visual Studio Code setup!



If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.

#python #coding #howto
Рекомендации по теме
Комментарии
Автор

Great! Im' happy to see that all thoses cores can be used in python!

jmirodg
Автор

Would be interested to see how Mojo handles threading and multi-core parallelism as it doesn't have GIL.

ButchCassidyAndSundanceKid
Автор

Nice video idea - like the comparison
3:06 - i see 3.11 standing there and not 3.12
9:37 do you really use multiple cores, it is processes which are multiple - but for sure the processes started will use your 10 core cpu optimal, but don't forget that the main program uses also on core, so better use 9 instead of 10

Richard_GIS
Автор

what extension are you using to get those splint window shortcuts in vscode?

Gbd
welcome to shbcf.ru