UseEmbeddedLibrary
✖
UseEmbeddedLibrary
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)Summary of the most common use cases
Create a compiled code function that embeds a shared library for the current platform:

https://wolfram.com/xid/0vvmox4iywg9xm8pouo-w2cczx

The code function now includes an embedded library:

https://wolfram.com/xid/0vvmox4iywg9xm8pouo-u2jpjj

The library will be used when the code function is loaded from a file. This makes loading faster:

https://wolfram.com/xid/0vvmox4iywg9xm8pouo-4mm7to

The restored CompiledCodeFunction works as expected:

https://wolfram.com/xid/0vvmox4iywg9xm8pouo-uvkfas

Wolfram Research (2021), UseEmbeddedLibrary, Wolfram Language function, https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
Text
Wolfram Research (2021), UseEmbeddedLibrary, Wolfram Language function, https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html.
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.
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
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: 29-March-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: 29-March-2025
]}