The initial title of this thread was “Why Julia is so much slower than Python? Invitation to Euler Project”. Due to findings of Gerhard Aigner, I think that it should be renamed to “The builtin digits function is slow on BigInt.” I will do it a bit later.
The original post content is shown below.
In this post I was told to go and solve problem on Project Euler before starting to criticize Julia. So, I did.
Today, I solved its 20th problem with Python and Julia and found out that the code in Julia executes more than 52 times slower than the corresponding code in Python.
Currently, my code can be found here.
Unfortunately, because of the Project Euler rules, I may not post it in any other place.
However, this problem is quite trivial: you need to find the sum of digits of factorial of 100. So, you can easily, register on Project Euler, enter your solution to the problem and get to the post.
So, why Julia is so much slower than Python?
You are invited to post your own, quiker solution of this problem to the Project Euler site.
At the end I would like to thank Gerhard Aigner and Tamas Gal for their constructive comments and inputs.
On the other side, the first place in the nomination for toxic and unuseful comments in this tread so far should go to xiaodai, the second — to Moritz Schauer, and the third — devided between Josua Grawitter and Zlatan Vasović. As I could see, the post of Moritz Schauer has been liked by Tamas Papp and DNF.
So, so far, in this thread had shown himself 2 users who wanted to discuss the topic and 6 users who just wanted to troll. Based on this, I can estimate that Julia community is toxic on 75%.