I just ran the same thing in Mathematica and I got 20 million digits in just over 7 seconds.
You can have "very high level functional programming" and 8x the speed of Julia in a mathematics-oriented language!
You can have "very high level functional programming" and 8x the speed of Julia in a mathematics-oriented language!
The danger of course is when Wolfram takes those assumptions into a room of mathematicians. It is controversial for all the wrong reasons. =)
It is a common question by the way =)
https://stackoverflow.com/questions/60121757/julia-vs-mathem...
The reason Mathematica is so much faster here is it’s using a different algorithm. When you compare using the same algorithm, Julia is 10-100x faster than Mathematica. https://julialang.org/benchmarks/