I have just started to learn Rust and coming from a web developer background it can both be rewarding and frustrating. I learn best by trying out known algorithms in the new language. I have implemented a brute force solution of the Travelling Sales Person algorithm in several other languages and wanted to compare the performance of Rust with the other languages.
Right now Rust performs really bad (factor 10 slower than for instance nodejs) but I can only think that my limited experience is the culprit of the slow program.
I would be happy to receive pointers to where I can improve the performance of my Rust program.
The program can be seen in this gist.