Description
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")).