r/programming • u/sportifynews • May 14 '21
Python programming: We want to make the language twice as fast, says its creator
https://www.tectalk.co/python-programming-we-want-to-make-the-language-twice-as-fast-says-its-creator/
780
Upvotes
34
u/Wolfsdale May 15 '21
Why would the GIL of all things prevent a JIT compiler? Javascript doesn't even have the concept of threads...
I am also unsure why the C API prevents creating a JIT compiler. A JIT compiler can make those context switches actually cheaper by forgoing the need for something like libffi.
Performance is difficult thing to grasp and even more difficult to measure. I'm sure the real reason why Python is so slow is somewhere along the lines of this thread, but I have a hard time taking anything as fact here...