Native OS Threads vs. GIL's Single Execution

Early Java leveraged native operating system threads, allowing true parallel execution on multi-core CPUs, while Python's Global Interpreter Lock (GIL) meant only one thread could execute Python bytecode at a time, even with multiple cores.

Sources

Open the full topic