Dynamic linking packages library functionality separately from an executable, allowing a C program to use code compiled from Rust. The integration requires a C-compatible dynamic library, linker search path, exported calling convention, and recompilation. section 3.2.2
Rust-backed calculator
A C calculator declares solve, links against the Rust dynamic library, and invokes it at runtime. Early output demonstrates the connection; later output prints the received expression while preserving the C-facing interface.
