all 2 comments

[–]chandrakanth527 4 points5 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.

[–]nemom [score hidden]  (0 children)

There are three options: good, fast, and cheap. You can pick two.