2 ms·
Python "threads" have no impact on the slowness of Python. 1: Threads are still under GIL's (global interpreter locks) because the entire object model is threa
by whizzter 2y ago
Python "threads" have no impact on the slowness of Python.
1: Threads are still under GIL's (global interpreter locks) because the entire object model is thread-unsafe.
2: The Python interpreter works with full objects, JS interpreters all work with some kind of tagged values (NaN,NuN or SMI-bit tagged)
The biggest thing about Python is that they've never wanted to rock the boat on API compatibility since their strength is the ecosystem so CPython is quite tied down. Compare it to PyPy that is far closer to popular JS impls.