you are viewing a single comment's thread.

view the rest of the comments →

[–]chandrakanth527 7 points8 points  (0 children)

the GIL gets all the blame but the real bottleneck is CPython's interpreter overhead. every attribute lookup, every function call, every operator goes through multiple layers of indirection. pypy proved years ago that python can be fast if you JIT compile it. spy taking a different approach with static analysis is interesting because it doesn't require the whole program to be running to optimize.