UseEmbeddedLibrary

UseEmbeddedLibrary

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

Details

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:

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.

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_2024_useembeddedlibrary, author="Wolfram Research", title="{UseEmbeddedLibrary}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_useembeddedlibrary, organization={Wolfram Research}, title={UseEmbeddedLibrary}, year={2021}, url={https://reference.wolfram.com/language/ref/UseEmbeddedLibrary.html}, note=[Accessed: 23-November-2024 ]}