>> As a rule, scripting languages don't surpass "real" programming languages when doing the same work and with both languages free to elect their own optimized solutions;
theoretically, they can't - can they?
i dont know much about speed of programming languages and such but i know that the scripting language Skookumscript is on its own not faster than c++ but with some optimizations some certain tasks that are completed in "human time" basically meaning completed over a couple of frames, and dont have to be refreshed every tick can in theory perform 100 times better in skookumscript than c++. http://forum.skookumscript.com/t/skookumscript-performance/500
so it is possible for scripting languages to outperform real languages, but apart from some certain parts of certain languages real languages should always perform better
You cannot speak about "speed of a language", it's a nonsense term.
A language expresses a description of how to solve a problem. It has no speed in itself.
Implementations of languages however can be compared for speed. I can compare visual studio with gcc, and decide which one is faster. I can compare C Python with Lua 5.3 (afaik there is only one implementation), and see which one is faster.
However you do this with 2 concrete implementations of the language(s), and for a concrete set of test-programs. Generalizing to all possible programs, or all possible implementations of a language is very hazardous to say the least.