Wolfram LibraryLink provides a powerful way to connect external code to Mathematica, enabling high-speed and memory-efficient execution. It 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.
LibraryFunctionLoad — load a function from a dynamic library into Mathematica
LibraryFunction — a function that calls into a dynamic library
LibraryFunctionInformation — information on a library function
LibraryLoad — load a library without calling any functions