Skip to content

Is explicit "compilation" allowed in a scripting language like Mma? #76

Open
@PoeticExposition

Description

@PoeticExposition

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions