Why is there so little mention of https://cython.org/ ? It's very fast, it compiles to C code, then compiles the C code with a normal compiler.
My understanding is that Cython does not run unmodified standard Python code.
I've seen 2x improvement on string processing code (cleaning text for input to a ML model) by doing nothing other than sticking `%%cython` at the top of a notebook cell.
I don't know if this technique scales to other applications; probably not. But Cython syntactically is a superset of Python.