Ancalagon wrote:
Whether you need a fast language depends on what you're doing with it. If what you're doing is simple enough, you could spend hours porting a program from one language to another and end up making something that takes 30 milliseconds take only 3 milliseconds.
That depend of how you define simple. If it's just a couple of lines of code calling some libraries, the libraries being written in C and compiled, the python interpreter will spend most time calling the c functions, and rewriting the code in c or c++ is using the libraries natively, will only take the time for the linker to load the symbols if they are shared. And in python it will take mostly the same time, neglecting the interpreter overhead. But if the whole functionality is reimplemented, it will probably be statically linked and be probably faster than ten times faster, because of cache.