Originally posted by bachchain
View Post
Python is slow? No, CPython interpreter is.
Python has the GIL? No, CPython interpreter has the GIL.
Said so, others are language-specific features (like late dynamic binding of functions) that prevent interpreter/compiler fine-tuning optimizations. But in general I see no reasons why an hypotetical full-featured Python compiler could not produce a machine-language binary which is in the same order of magnitude in terms of speed of C/C++
Leave a comment: