Your C dependency can segfault your entire process. WebAssembly can stop it.
Containers are overkill for isolating a single C library.
A single null pointer dereference inside a C library can bring down your entire application. If that library parses user input, decompresses images, or handles…