3 ms·
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 s
by jiggawatts 4y ago
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!
- Joel_Mckay 4y agoMathematica does several optimizations before execution, and as such can exploit a priori knowledge of many problems. 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-mathematica-numerical-integration-performance https://stackoverflow.com/questions/60121757/julia-vs-mathem...
- Max_Limelihood 4y agoJulia already is a very high-level mathematics-oriented programming language, though. 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/ https://julialang.org/benchmarks/