Earlier quoted context omitted.
Agreed that switching to lower level languages give the potential of many orders of magnitude. But the thing that was most enlightening was that removing pandas made a 9900% increase in speed without even a change to language. 20 minutes down to 12 seconds is a very big deal, and I still don't have to remember how to manage pointers.
I don’t believe orders of magnitude is achievable in general. Even python, which is perhaps the slowest mainstream language clocks in at around 10x that of C. Sure, there will be some specialized program where keeping the cache manually small you can achieve big improvements, but most mainstream managed languages have very great performance. The slowdown is caused by the frameworks and whatnot, not the language itsel…
Guess we don't have a way to measure "in general" so we are left with tiny tiny benchmarks programs.
simple
https://benchmarksgame-team.pages.debian.net/benchmarksgame/... cpu secs Python 3 versus C gcc
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...