Abstract & Overview
We introduce the ForeignFunctions package for M a c a u l a y 2 , which uses l i b f f i to provide the ability to call functions from external libraries without needing to link against them at compile time. As examples, we use the library FFTW to multiply polynomials using fast Fourier transforms, call a LAPACK function to solve a general Gauss–Markov linear model problem, and use JIT compilation to compute Fibonacci numbers.