You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In perf.nb, several Mathematica functions are compiled using Compile, but in perf.m, none of MatLab code is compiled into .mex files (or other formats). Since one can also compile a MatLab program (see, for example, use MATLAB Compiler (SDK) or MATLAB Coder to deploy MATLAB programs) and than call it, is this comparison fair?
If explicit "compilation" is allowed, now that there has been a newer FunctionCompile functionality, one will have to make two versions of Mathematica. And if not, when writing a recursive function, will a function that remembers values it has found be allowable (because this does follow the way that an experienced user would write it)? (Incidentally, the Wolfram Language source file should be named as "perf.wl" (rather than "perf.nb")).
The text was updated successfully, but these errors were encountered:
Compiling is fine so long as the behavior of the code isn't changed. Do you know if it is? Memoizing values is not allowed since that very much changes the algorithm.
Compiling is fine so long as the behavior of the code isn't changed. Do you know if it is? Memoizing values is not allowed since that very much changes the algorithm.
Thanks. But what about other issues described above?
If compilation optimization is allowed, why does Mma's code make use of compilation while MatLab's does not (cf. codegen, fiaccel, and mcc)?
Besides, in accordance with Integer matrix multiplication - Benchmarks, Julia's built-in * is both slower than the analogue in Python (???) and slower than the analogue in Pari/GP, which is not included in this micro-benchmarks; does there exist to extend the range of script languages used here? For instance, there are so-called “3M” mathematical software: MatLab, Mma, and Maple (alternatively, Magma), so what is the status of Maple's performance in the Microbenchmarks?
In perf.nb, several Mathematica functions are compiled using
Compile
, but in perf.m, none of MatLab code is compiled into .mex files (or other formats). Since one can also compile a MatLab program (see, for example, use MATLAB Compiler (SDK) or MATLAB Coder to deploy MATLAB programs) and than call it, is this comparison fair?If explicit "compilation" is allowed, now that there has been a newer
FunctionCompile
functionality, one will have to make two versions of Mathematica. And if not, when writing a recursive function, will a function that remembers values it has found be allowable (because this does follow the way that an experienced user would write it)? (Incidentally, the Wolfram Language source file should be named as "perf.wl" (rather than "perf.nb")).The text was updated successfully, but these errors were encountered: