Skip to main content

Wolfram LibraryLink provides a powerful way to connect external code to Mathematica, enabling high-speed and memory-efficient execution.

From Help:

It [LibraryLink] does this by allowing dynamic libraries to be directly loaded into the Mathematica kernel so that functions in the libraries can be immediately called from Mathematica. Wolfram LibraryLink allows exchanging arbitrary data with the linked library: integers, reals, packed arrays, strings, and arbitrary Mathematica expressions, as well as sending messages and calling back to Mathematica.