

Python typing system is the reason of its huge flexibility, but as many other scripting language, it’s also what makes it so hard to optimize.
I have no idea how you can change that without bringing some “JIT-oriented” features inside the Python language itself.
I still hope for the best, but I’m unsure we will be able to see an efficient JIT system inside CPython soon.
PyPy had to rewrite the whole Python implementation in a JIT focused way, and even with that, they are (not uncommon) cases when PyPy is slower.
Years ago, controllers where almost unbreakable. Look at where we are now.