3 ms·
I can check it later when I am back at home but since I regularly clean my projects & prototypes folder I do not think I kept it. The implementation was quite
by nudpiedo 8y ago
I can check it later when I am back at home but since I regularly clean my projects & prototypes folder I do not think I kept it.
The implementation was quite straight forward in both languages: count words and then some statistic counting. It made me think that Nim will end up making me think all the time in the CPU and the compiler in the same way I did when I programmed C (and still high level languages beat the things by achieving much faster cleaner designs/prototypes/high level patterns, etc).
To be fair in my initial criticism, I guess a highly skilled Nim developer could beat python on a restricted environment, and in high level async processes both might differ in less than 1% in performance matters; but my code was really trivial and a straight forward iteration.