8 points · by bakery2k · 10y ago · 13 comments
I have written a proof-of-concept in Python, but it is unacceptably slow: 100 times slower than an implementation of the core algorithm in C++. Also, it would be awkward to distribute to end-users: the best option seems to be a tool such as PyInstaller which essentially creates a large, self-extracting archive. Running the Python code using PyPy fixes the performance issue (only 4x slower than C++), but makes distribution almost impossible.
So, I am looking for another language in which to write the production version of this tool. Which other language(s) would you recommend?
I would rather avoid writing the whole tool in a complex language like C++. Are there any other Python-like, dynamic languages which are faster and easier to distribute?
http://stackoverflow.com/questions/582336/how-can-you-profil...
I used the command line option described in the suggested answer. It was easy. Most profilers are hard, but this worked fine the first time.
P.S. I'm not proGo, just have near to zero knowledge about Rust.
It is statically compiled - you get one executable without any dependencies.
Its speed is much closer to C than to Python.
Type system and syntax is very simple.