Re:20M digits of pi in 1 minute using Julia
by Joel_Mckay on Saturday March 04, 2023 @04:20AM
(#35019482)
Mathematica 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. =)
Re:20M digits of pi in 1 minute using Julia
by Max_Limelihood on Saturday March 04, 2023 @02:16PM
(#35023590)
Julia 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/
You can have "very high level functional programming" and 8x the speed of Julia in a mathematics-oriented language!