is an option of FunctionCompile that embeds a shared library in a CompiledCodeFunction.


UseEmbeddedLibrary
is an option of FunctionCompile that embeds a shared library in a CompiledCodeFunction.
Details

- UseEmbeddedLibrary embeds a shared library suitable for the architecture on which FunctionCompile is run.
- An embedded library speeds up the creation of a CompiledCodeFunction that is restored from its InputForm, for example by loading from a file.
Examples
Basic Examples (1)
Create a compiled code function that embeds a shared library for the current platform:
The code function now includes an embedded library:
The library will be used when the code function is loaded from a file. This makes loading faster:
The restored CompiledCodeFunction works as expected:
See Also
History
Text
Wolfram Research (2021), UseEmbeddedLibrary, Wolfram Language function, https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
CMS
Wolfram Language. 2021. "UseEmbeddedLibrary." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
APA
Wolfram Language. (2021). UseEmbeddedLibrary. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html
BibTeX
@misc{reference.wolfram_2025_useembeddedlibrary, author="Wolfram Research", title="{UseEmbeddedLibrary}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_useembeddedlibrary, organization={Wolfram Research}, title={UseEmbeddedLibrary}, year={2021}, url={https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html}, note=[Accessed: 15-August-2025]}