Codon: A Python compiler if you have a need for C/C++ speed
theregister.com
theregister.com
On the other hand, part of me laments the gargantuan effort people have collectively spent trying to make Python fast, rather than improving other languages to be competitive with it. Python's ecosystem is probably the biggest factor right now contributing to its popularity, but I think that without resorting to "tricks", it will never be fast (by tricks, I mean restricting usage to certain features, adding static types, forbidding the usage of popular libraries, etc)
Compiled languages are out because you can't rebuild every time.
What is left?
Can't really follow your argument. Any large project in a compiled language has higher compile times, that's true, but they become manageable if you don't use header copying as your include mechanism, as is common in C and C++, and if you use a build system that allows incremental builds.
Any large project in Python has a lack of compile-time guarantees leading to immense human effort in adding unit tests that would have been caught by the type system in most languages, huge debugging efforts for the resulting runtime errors that weren't caught at compile-time, etc.
Also even among the interpreted languages you could do a lot better with JIT.
For example, in C++ it may not be possible to rerun a snippet of code in the debugger because those sources have been compiled out or not included.
Realistically this means that the interactive user experience is vastly reduced due to the compilation process filtering out and modifying the original code.
OP wants us to work on other languages but its hard to imagine a substantially different language that supports the same kind of user interaction. I guess we could expand on MATLAB or Octave but what would be the benefit from enabling a slightly different syntax? I think realistically the lack of advantage or differentiation from competing languages has made the proposition of contributing to other languages much less appealing.
Micripython's "viper" just-in-time compiler. It can only be applied to one function at a time, restricts what you can do in such a JIT-ted function quite severely, but resulting speed is pretty much native:
https://docs.micropython.org/en/latest/reference/speed_pytho...
I think that’s Julia’s tagline, pretty much