Wolfram Language

Create a Shared Library

The Wolfram Compiler can create shared libraries from the functions it compiles. Functions can be loaded into the Wolfram Engine at a subsequent time, eliminating the need to compile the function during each session, or linked into standalone programs.

FunctionCompileExportLibrary compiles and links a shared library.

The library can be loaded with LibraryFunctionLoad to return a CompiledCodeFunction.

The compiled code can be used just as though it were made with FunctionCompile.

Related Examples

de es fr ja ko pt-br zh