2 ms·
You don't get real threads in Python thanks to the GIL - only one thread at a time can be executing Python code. You can use processes to get around this, but
by eloff 10y ago
You don't get real threads in Python thanks to the GIL - only one thread at a time can be executing Python code.
You can use processes to get around this, but it's often not as performant or convenient. Computer hardware shifted to multi-core a decade ago and Python was left behind because of that little bit of technical debt.
It used to be my favorite language, but I've since moved on to Go, both for the better performance and multi-core story, and for the static typing.